Determines if the Integer is of the specified interval. E.g. if the interval is 100 and the integer is 400, it would return true. 127 would return false.
This function uses the Mod operator, for the above example: (300 Mod 100 = 0)