def METHOD_NAME(self, state):
    """
    Given a state name, it returns its level (integer), which defines the hierarchy.
    >>> sm0.getLevelOfState('Nirvana')
        100
    >>> sm0.getLevelOfState('AnotherState')
        -1
    :param str state: name of the state, it should be on <self.states> key set
    :return: `int` || -1 (if not in <self.states>)
    """
    if state not in self.states:
        return -1
    return self.states[state].level