def METHOD_NAME(self, state_: str) -> str:
    if state_ not in self._handles:
        raise KeyError(f"Handle not defined for state {state_}")
    # Call the state handle mapped to the new state
    self._handles[state_]()
    return self._state