is_nonnegative_integer_equivalent_number

mathtools.is_nonnegative_integer_equivalent_number(expr)

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

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

Returns true or false.