code: def get_dag_run_state(
      dag_id: str, execution_date: datetime
  ) -> dict[str, str]:
      """Return the Dag Run state identified by the given dag_id and execution_date.
  
      :param dag_id: DAG id
      :param execution_date: execution date
      :return: Dictionary storing state of the object
      """
      dag = check_and_get_dag(dag_id=dag_id)
  
      dagrun = check_and_get_dagrun(dag, execution_date)
  
      return {"state": dagrun.get_state()}
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from deprecated import deprecated
  from airflow.api.common.experimental import check_and_get_dag, check_and_get_dagrun
label_desc: Use image node_id 1 for calling a global function with example usage: get_dag_run_state(dag_id, execution_date) and returns: dict