code: def get_outputs_sink_from_py_var(
      var_name: str,
  ) -> llmfn_outputs.LLMFnOutputsSink:
      # The output variable `var_name` will be created if it does not already
      # exist.
      if py_utils.has_py_var(var_name):
          data = py_utils.get_py_var(var_name)
          if isinstance(data, llmfn_outputs.LLMFnOutputsSink):
              return data
      return _PyVarOutputsSink(var_name)
  
file_path: generative-ai-python/google/generativeai/notebook/output_utils.py
imports: from __future__ import annotations
  import copy
  from google.generativeai.notebook import parsed_args_lib
  from google.generativeai.notebook import py_utils
  from google.generativeai.notebook.lib import llmfn_outputs
label_desc: Use image node_id 1 for calling a global function with example usage: get_outputs_sink_from_py_var(var_name) and returns: _PyVarOutputsSink, data