code: def is_enabled(api):
      """Return true if the api is enabled by the current backend.
  
      Parameters
      ----------
      api : str
          The api name.
  
      Returns
      -------
      bool
          True if the API is enabled by the current backend.
      """
      return api in _enabled_apis
  
file_path: dgl/python/dgl/backend/__init__.py
imports: from __future__ import absolute_import
  import importlib
  import json
  import logging
  import os
  import sys
  from .None import backend
  from .set_default_backend import set_default_backend
label_desc: Use image node_id 4 for calling a global function with example usage: is_enabled(api) and returns: unknown