code: def _contains_dim(input):
      from . import Dim
  
      for i in input:
          if isinstance(i, Dim):
              return True
  
imports: import torch
  from functorch._C import dim
  from .None import op_properties
  from .batch_tensor import _enable_layers
  from .tree_map import tree_flatten, tree_map
  import operator
  from functools import reduce
label_desc: Use image node_id 11 for calling a global function with example usage: _contains_dim(input) and returns: True