(self)
return self.vcount() > 0
Returns True if the graph has at least one vertex, False otherwise.
Returns True if the graph has at least one vertex, False otherwise.
Returns True if the graph has at least one vertex False otherwise .
def __bool__(self):
        """Returns True if the graph has at least one vertex, False otherwise."""
        return self.vcount() > 0
def __bool__ ( self ) : return self . vcount ( ) > 0