code: def allowed_transitions():
      
      try:
          sdp_state = SDPState()
          return sdp_state.allowed_target_states[sdp_state.current_state]
      except KeyError:
          LOG.error("Key Error")
          return dict(state="KeyError", reason="KeyError")
docs: Get target states allowed for the current state.