docstr: A function that verifies that the given action is in the expected output action space
  :param action: an action to validate
  :return: None
docstr_tok: ["A","function","that","verifies","that","the","given","action","is","in","the","expected","output","action","space",":","param","action",":","an","action","to","validate",":","return",":","None"]
code: def validate_output_action(self, action: ActionType):
      """
      A function that verifies that the given action is in the expected output action space
      :param action: an action to validate
      :return: None
      """
      if not self.output_action_space.contains(action):
          raise ValueError(
              "The given action ({}) does not match the action space ({})".format(
                  action, self.output_action_space
              )
          )
  
file_path: coach/rl_coach/filters/action/action_filter.py
imports: from rl_coach.core_types import ActionType
  from rl_coach.filters.filter import Filter
  from rl_coach.spaces import ActionSpace
label_desc: Use image node_id 4 for calling the ActionFilter obj's underlying member method code with example usage: obj.validate_output_action(action) without return types