code: def is_onnxruntime_available():
      try:
          # Try to import the source file of onnxruntime - if you run the tests from `tests` the function gets
          # confused since there a folder named `onnxruntime` in `tests`. Therefore, `_onnxruntime_available`
          # will be set to `True` even if not installed.
          mod = importlib.import_module("onnxruntime")
          inspect.getsourcefile(mod)
      except Exception:
          return False
      return _onnxruntime_available
  
imports: import importlib.util
  import inspect
  import sys
  from collections import OrderedDict
  from contextlib import contextmanager
  from typing import Tuple, Union
  import numpy
  import packaging
  from transformers.utils import is_torch_available
label_desc: Use image node_id 4 for calling a global function with example usage: is_onnxruntime_available() and returns: _onnxruntime_available, False