code: def _maybe_first(o):
      return o[0] if isinstance(o, tuple) else o
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
label_desc: Use image node_id 3 for calling a global function with example usage: _maybe_first(o) and returns: unknown