int.in.range function

Check if an object is an integer in a given range