all_are_integer_equivalent

mathtools.all_are_integer_equivalent(argument)

Is true when argument is an iterable collection with integer-equivalent items. Otherwise false.

>>> items = [1, '2', 3.0, Fraction(4, 1)]
>>> mathtools.all_are_integer_equivalent(items)
True
>>> mathtools.all_are_integer_equivalent([1, '2', 3.5, 4])
False

Returns true or false.