(self)
return self._is_special or self._int != '0'
Return True if self is nonzero; otherwise return False.

        NaNs and infinities are considered nonzero.
Return True if self is nonzero; otherwise return False.
Return True if self is nonzero ; otherwise return False .
def __bool__(self):
        """Return True if self is nonzero; otherwise return False.

        NaNs and infinities are considered nonzero.
        """
        return self._is_special or self._int != '0'
def __bool__ ( self ) : return self . _is_special or self . _int != '0'