code: def remove_core_element(self, model):
          
          assert model.scoped_variable.parent is self.model.state
          gui_helper_state_machine.delete_core_element_of_model(model)
docs: Remove respective core element of handed scoped variable model
  
          :param ScopedVariableModel model: Scoped variable model which core element should be removed
          :return: