all_are_numbers

mathtools.all_are_numbers(argument)

Is true when argument is an iterable collection of numbers. Otherwise false.

>>> mathtools.all_are_numbers([1, 2, 3.0, Fraction(13, 8)])
True
>>> mathtools.all_are_numbers(17)
False

Is true when argument is empty:

>>> mathtools.all_are_numbers([])
True

Returns true or false.