code: def assert_imported():
      has_dependancy_, import_exn, _ = lazy_umap_import_has_dependancy()
      if not has_dependancy_:
          logger.error(
              "UMAP not found, trying running "
              "`pip install graphistry[ai]`"
          )
          raise import_exn
  
imports: import copy
  from time import time
  from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple, Union
  from inspect import getmodule
  import pandas
  from .None import constants
  from .constants import CUML, UMAP_LEARN
  from .feature_utils import FeatureMixin, Literal, XSymbolic, YSymbolic, prune_weighted_edges_df_and_relabel_nodes, resolve_feature_engine
  from .PlotterBase import Plottable, WeakValueDictionary
  from .util import check_set_memoize
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: assert_imported() without return types