def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def add_item(self, item_value=None, index=None):
    if item_value is None:
      item_value = self._new_item_default_value