code: def uninstall():
      if _import_nni_node_failed:
          raise ImportError(
              "Import `nni_node` failed. nni is not properly installed."
          )
      _backend_config_file.unlink()
      if jupyter_lab_major_version == "2":
          _v2_backend_config_file.unlink()
      shutil.rmtree(_frontend_dst)
  
file_path: nni/nni/tools/jupyter_extension/management.py
imports: import json
  from pathlib import Path
  import shutil
  import os
  from jupyter_core.paths import jupyter_config_dir, jupyter_data_dir
label_desc: Use image node_id 3 for calling a global function with example usage: uninstall() without return types