<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_core_element(self, model):
 """Remove respective core element of handed outcome model :param OutcomeModel model: Outcome model which core element should be removed :return: """

        assert model.outcome.parent is self.model.state
        gui_helper_state_machine.delete_core_element_of_model(model)