code: def pyarrow_available() -> bool:
      try:
          import_pyarrow_interchange()
          return True
      except ImportError:
          return False
  
file_path: altair/altair/utils/_importers.py
imports: from types import ModuleType
  from packaging.version import Version
  from importlib.metadata import version
label_desc: Use image node_id 5 for calling a global function with example usage: pyarrow_available() and returns: True, False