code: def get_module(name, required=True):
      try:
          return import_module(name)
      except Exception:
          if required:
              raise ValueError("No module named: '{}'".format(name))
          return None
  
file_path: aim/aim/web/utils.py
imports: from importlib import import_module
  import os
  import subprocess
  from aim.web.configs import AIM_UI_MOUNTED_REPO_PATH
  from aim.sdk.configs import get_aim_repo_name
  from aim.sdk.utils import clean_repo_path
label_desc: Use image node_id 2 for calling a global function with example usage: get_module(name, required) and returns: import_module, None