<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_outcome_for_state_id(self, state_id):
 """ Returns the final outcome of the child state specified by the state_id. :param state_id: The id of the state to get the final outcome for. :return: """

        return_value = None
        for s_id, name_outcome_tuple in self.final_outcomes_dict.items():
            if s_id == state_id:
                return_value = name_outcome_tuple[1]
                break
        return return_value