code: def this_condition_stack():
      """Return the condition stack of current Pipeline"""
      from nvidia.dali._debug_mode import _PipelineDebug
  
      current_pipeline = _PipelineDebug.current()
      if current_pipeline._condition_stack is None:
          raise ValueError(
              "Cannot access current condition stack when conditionals"
              " were not enabled for a given pipeline."
          )
      return current_pipeline._condition_stack
  
imports: from nvidia.dali import _autograph
  from nvidia.dali.data_node import DataNode
  from nvidia.dali import fn
  from nvidia.dali._autograph.utils import ag_logging
  from nvidia.dali._autograph.operators import variables
  from contextlib import contextmanager
  from enum import Enum
  import tree
label_desc: Use image node_id 7 for calling a global function with example usage: this_condition_stack() and returns: current_pipeline