is_fraction_equivalent_pair

mathtools.is_fraction_equivalent_pair(argument)

Is true when argument is an integer-equivalent pair of numbers excluding 0 as the second term. Otherwise false.

>>> mathtools.is_fraction_equivalent_pair((2, 3))
True
>>> mathtools.is_fraction_equivalent_pair((2, 0))
False

Returns true or false.