all_are_positive_integers

mathtools.all_are_positive_integers(argument)

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

>>> mathtools.all_are_positive_integers([1, 2, 3, 99])
True
>>> mathtools.all_are_positive_integers(17)
False

Returns true or false.