code: def next_py(iterator, default=UNSPECIFIED):
      if default is UNSPECIFIED:
          return next(iterator)
      return next(iterator, default)
  
imports: import inspect
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 30 for calling a global function with example usage: next_py(iterator, default) and returns: next, next