code: def _get_jupyter_lab_version():
      try:
          import jupyterlab
  
          return jupyterlab.__version__
      except ImportError:
          return "3.x"
  
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 1 for calling a global function with example usage: _get_jupyter_lab_version() and returns: jupyterlab, str