<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def model_changed(self, model, prop_name, info):
 """This method notifies the parent state about changes made to the state element """

        if self.parent is not None:
            self.parent.model_changed(model, prop_name, info)