code: def insert(self, index, x):
          
          self.check_insertion(x)
  
          self.real_list.insert(index, x)
          self._items |= {x}
docs: See :meth:`~pluginsmanager.observer.observable_list.ObservableList.insert()` method