all_are_integer_equivalent_exprs

mathtools.all_are_integer_equivalent_exprs(expr)

Is true when expr is a sequence and all elements in expr are integer-equivalent expressions.

>>> mathtools.all_are_integer_equivalent_exprs([1, '2', 3.0, Fraction(4, 1)])
True

Otherwise false:

>>> mathtools.all_are_integer_equivalent_exprs([1, '2', 3.5, 4])
False

Returns true or false.