is_integer_equivalent_n_tuple

mathtools.is_integer_equivalent_n_tuple(expr, n)

Is true when expr is a tuple of n integer-equivalent expressions.

>>> mathtools.is_integer_equivalent_n_tuple((2.0, '3', Fraction(4, 1)), 3)
True

Otherwise false:

>>> mathtools.is_integer_equivalent_n_tuple((2.5, '3', Fraction(4, 1)), 3)
False

Returns true or false.