is_null_tuple

mathtools.is_null_tuple(expr)

Is true when expr is a tuple of length 0.

>>> mathtools.is_null_tuple(())
True

Otherwise false:

>>> mathtools.is_null_tuple((19, 20, 21))
False

Returns true or false.