code: def _contains_data_node(obj):
      if isinstance(obj, (tuple, list)):
          return any(_contains_data_node(el) for el in obj)
      return isinstance(obj, _DataNode)
  
imports: import warnings
  from typing import Callable, Tuple, Optional, Union
  from nvidia.dali import fn, types
  from nvidia.dali.data_node import DataNode
  from nvidia.dali.auto_aug.core._args import filter_extra_accepted_kwargs, get_missing_kwargs, get_num_positional_args, MissingArgException
  from numpy import typing
label_desc: Use image node_id 3 for calling a global function with example usage: _contains_data_node(obj) and returns: isinstance, any