code: def can_import(api):
      """Safely query whether an API is importable, without importing it"""
      if not has_binding(api):
          return False
  
      current = loaded_api()
      if api == QT_API_PYQT_DEFAULT:
          return current in [QT_API_PYQT6, None]
      else:
          return current in [api, None]
  
imports: import importlib.abc
  import sys
  import os
  import types
  from functools import partial, lru_cache
  import operator
label_desc: Use image node_id 5 for calling a global function with example usage: can_import(api) and returns: False, unknown, unknown