is_integer_singleton

mathtools.is_integer_singleton(argument)

Is true when argument is an integer tuple of of length 1. Otherwise false.

>>> mathtools.is_integer_singleton((19,))
True
>>> mathtools.is_integer_singleton(('text',))
False

Returns true or false.