(self)
return len(self._list) > 0
Returns if this segment list has any block or not. !is_empty

        :return: True if it's not empty, False otherwise
Returns if this segment list has any block or not. !is_empty
Returns if this segment list has any block or not . !is_empty
def has_blocks(self):
        """
        Returns if this segment list has any block or not. !is_empty

        :return: True if it's not empty, False otherwise
        """

        return len(self._list) > 0
def has_blocks ( self ) : return len ( self . _list ) > 0