is_fraction_equivalent_pair

mathtools.is_fraction_equivalent_pair(expr)

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

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

Otherwise false:

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

Returns true or false.