is_integer_equivalent

mathtools.is_integer_equivalent(argument)

Is true when argument is an integer-equivalent number. Otherwise false.

>>> mathtools.is_integer_equivalent(12.0)
True
>>> mathtools.is_integer_equivalent('12')
True
>>> mathtools.is_integer_equivalent('foo')
False

Returns true or false.