code: def load_state(self, state):
          
          state_data = state[self.name]
          if isinstance(state_data["resp_args"]["name_id_policy"], str):
              state_data["resp_args"]["name_id_policy"] = name_id_policy_from_string(
                  state_data["resp_args"]["name_id_policy"])
          return state_data
docs: Loads a state from state
          :type state: satosa.state.State
          :rtype: dict[str, Any]
          :param state: The current state
          :return: The dictionary given by the save_state function