is_positive_integer_equivalent_number

mathtools.is_positive_integer_equivalent_number(expr)

Is true when expr is a positive integer-equivalent number. Otherwise false:

>>> mathtools.is_positive_integer_equivalent_number(Duration(4, 2))
True

Returns true or false.