class_docstr: Checks whether an action is executed at the current step.
class_docstr_tok: ["Checks","whether","an","action","is","executed","at","the","current","step","."]
docstr: Checks that this marker (and its children) refer to entries in the domain.
  
  Args:
      domain: The domain to check against
docstr_tok: ["Checks","that","this","marker","(","and","its","children",")","refer","to","entries","in","the","domain",".","Args",":","domain",":","The","domain","to","check","against"]
code: def validate_against_domain(self, domain: Domain) -> bool:
      """Checks that this marker (and its children) refer to entries in the domain.
  
      Args:
          domain: The domain to check against
      """
      valid = self.text in domain.action_names_or_texts
  
      if not valid:
          logger.error(
              f"Referenced action '{self.text}' does not exist in the domain"
          )
  
      return valid
  
imports: from rasa.shared.core.domain import Domain
  from typing import Optional, Text, List
  from rasa.core.evaluation.marker_base import OperatorMarker, ConditionMarker, MarkerRegistry, Marker
  from rasa.shared.core.events import ActionExecuted, SlotSet, UserUttered, Event
  import logging
label_desc: Use image node_id 3 for calling the ActionExecutedMarker obj's underlying member method code with example usage: obj.validate_against_domain(domain) and returns: valid