zmodn.Zmodn.__bool__()

Check if the Zmodn object is True (non-zero).

Returns:

True if any element in the Zmodn object is non-zero, False otherwise.

Return type:

bool