code: def has_umap():
      if platform.processor() == "aarch64":
          return False
      try:
          import umap  # NOQA
  
          return True
      except ImportError:
          return False
  
imports: import platform
  from cuml.internals.safe_imports import gpu_only_import, UnavailableError
  from distutils.version import LooseVersion
label_desc: Use image node_id 6 for calling a global function with example usage: has_umap() and returns: False, True, False