(self)
return True
Returns True if this is a leaf node in the query tree, or False if
        this query has sub-queries.
Returns True if this is a leaf node in the query tree, or False if
        this query has sub-queries.
Returns True if this is a leaf node in the query tree or False if this query has sub - queries .
def is_leaf(self):
        """Returns True if this is a leaf node in the query tree, or False if
        this query has sub-queries.
        """

        return True
def is_leaf ( self ) : return True