is_nonnegative_integer_equivalent_number

mathtools.is_nonnegative_integer_equivalent_number(argument)

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

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

Returns true or false.