code: def is_tensor_adaptor_enabled() -> bool:
      """Check whether TensorAdaptor is enabled."""
      return tensor_adapter_loaded
  
file_path: dgl/python/dgl/_ffi/base.py
imports: from __future__ import absolute_import
  import ctypes
  import logging
  import os
  import sys
  import numpy
  from .None import libinfo
label_desc: Use image node_id 7 for calling a global function with example usage: is_tensor_adaptor_enabled() and returns: tensor_adapter_loaded