code: def insert(self, index, item):
          
          if issubclass(item.__class__, self._pyof_class):
              list.insert(self, index, item)
          else:
              raise exceptions.WrongListItemType(item.__class__.__name__,
                                                 self._pyof_class.__name__)
docs: Insert an item at the specified index.
  
          Args:
              index (int): Position to insert the item.
              item: Item to be inserted. It must have the type specified in the
                  constructor.
  
          Raises:
              :exc:`~.exceptions.WrongListItemType`: If the item has a different
                  type than the one specified in the constructor.