docs: def remove_outcome_hook(self, outcome_id):
          """Removes internal transition going to the outcome
          """
          for transition_id in list(self.transitions.keys()):
              transition = self.transitions[transition_id]
              if transition.to_outcome == outcome_id and transition.to_state == self.state_id:
                  self.remove_transition(transition_id)