<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_transition_m(self, transition_id):
 """Searches and return the transition model with the given in the given container state model :param transition_id: The transition id to be searched :return: The model of the transition or None if it is not found """

        for transition_m in self.transitions:
            if transition_m.transition.transition_id == transition_id:
                return transition_m
        return None