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