is_one_int function

Determines if the argument is a whole number