code: def vitis_ai_available():
      """Return whether Vitis AI tools are available"""
      pyxir_spec = importlib.util.find_spec("pyxir")
      if (
          not tvm.get_global_func(
              "tvm.vitis_ai_runtime.from_xgraph", True
          )
          or pyxir_spec is None
      ):
          return False
      return True
  
file_path: tvm/python/tvm/contrib/target/vitis_ai.py
imports: import warnings
  import importlib
  from tvm.relay.expr import Tuple, Call, TupleGetItem
  import tvm._ffi
label_desc: Use image node_id 1 for calling a global function with example usage: vitis_ai_available() and returns: True, False