(self)
return False
Check if widget is empty.
Check if widget is empty.
Check if widget is empty .
def is_empty(self):
        """Check if widget is empty."""
        if self.count() == 0:
            return True
        return False
def is_empty ( self ) : if self . count ( ) == 0 : return True return False