code: def is_deepspeed_available():
      return importlib.util.find_spec("deepspeed") is not None
  
imports: import importlib.util
  import weakref
  from copy import deepcopy
  from functools import partialmethod
  from .dependency_versions_check import dep_version_check
  from .utils import is_accelerate_available, is_torch_available, logging
label_desc: Use image node_id 1 for calling a global function with example usage: is_deepspeed_available() and returns: unknown