(self)
return -1
Return the level of the group or -1 if have no group
Return the level of the group or -1 if have no group
Return the level of the group or - 1 if have no group
def level(self):
        'Return the level of the group or -1 if have no group'
        if self.group: return self.group.level
        return -1
def level ( self ) : if self . group : return self . group . level return - 1