def get_outcome_for_state_name(self, name):
    ' Returns the final outcome of the child state specified by name.\n\n        Note: This is utility function that is used by the programmer to make a decision based on the final outcome\n        of its child states. A state is not uniquely specified by the name, but as the programmer normally does not want\n        to use state-ids in his code this utility function was defined.\n\n        :param name: The name of the state to get the final outcome for.\n        :return:\n        '
    return_value = None
    for (state_id, name_outcome_tuple) in self.final_outcomes_dict.items():
        if (name_outcome_tuple[0] == name):
            return_value = name_outcome_tuple[1]
            break
    return return_value
Returns the final outcome of the child state specified by name.

Note: This is utility function that is used by the programmer to make a decision based on the final outcome
of its child states. A state is not uniquely specified by the name, but as the programmer normally does not want
to use state-ids in his code this utility function was defined.

:param name: The name of the state to get the final outcome for.
:return:
def get_outcome_for_state_name(self, name):
    ' Returns the final outcome of the child state specified by name.\n\n        Note: This is utility function that is used by the programmer to make a decision based on the final outcome\n        of its child states. A state is not uniquely specified by the name, but as the programmer normally does not want\n        to use state-ids in his code this utility function was defined.\n\n        :param name: The name of the state to get the final outcome for.\n        :return:\n        '
    return_value = None
    for (state_id, name_outcome_tuple) in self.final_outcomes_dict.items():
        if (name_outcome_tuple[0] == name):
            return_value = name_outcome_tuple[1]
            break
    return return_value