(self)
return bool(self._group_id)
Property that returns whether an agg is part of a group or not.
Property that returns whether an agg is part of a group or not.
Property that returns whether an agg is part of a group or not .
def is_part_of_group(self):
        """Property that returns whether an agg is part of a group or not."""
        if self._group_id is None:
            return False

        return bool(self._group_id)
def is_part_of_group ( self ) : if self . _group_id is None : return False return bool ( self . _group_id )