code: def getanno(node, key, default=FAIL, field_name="___pyct_anno"):
      if default is FAIL or (
          hasattr(node, field_name)
          and (key in getattr(node, field_name))
      ):
          return getattr(node, field_name)[key]
      return default
  
file_path: DALI/dali/python/nvidia/dali/_autograph/pyct/anno.py
imports: import enum
  import gast
label_desc: Use image node_id 2 for calling a global function with example usage: getanno(node, key, default, field_name) and returns: default, getattr