docstr: Task instances with a dagrun should pass this dep
code: def test_dagrun_exists(self):
      """
      Task instances with a dagrun should pass this dep
      """
      dagrun = DagRun(state=State.RUNNING)
      ti = Mock(get_dagrun=Mock(return_value=dagrun))
      assert DagrunRunningDep().is_met(ti=ti)
  
file_path: airflow/tests/ti_deps/deps/test_dagrun_exists_dep.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  from airflow.models.dag import DAG
  from airflow.models.dagrun import DagRun
  from airflow.ti_deps.deps.dagrun_exists_dep import DagrunRunningDep
  from airflow.utils.state import State
label_desc: Use image node_id 2 for calling the TestDagrunRunningDep obj's underlying member method code with example usage: obj.test_dagrun_exists() without return types