class_docstr: Checks whether an intent is expressed at the current step.
  
  More precisely it applies at an event if this event is a `UserUttered` event
  where either (1) the retrieval intent or (2) just the intent coincides with
  the specified text.
class_docstr_tok: ["Checks","whether","an","intent","is","expressed","at","the","current","step",".","More","precisely","it","applies","at","an","event","if","this","event","is","a","`","UserUttered","`","event","where","either","(","1",")","the","retrieval","intent","or","(","2",")","just","the","intent","coincides","with","the","specified","text","."]
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.intent_properties
  
      if not valid:
          logger.error(
              f"Referenced intent '{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 IntentDetectedMarker obj's underlying member method code with example usage: obj.validate_against_domain(domain) and returns: valid