code: def optional_import(*package_names):
      try:
          packages = [
              importlib.import_module(pn) for pn in package_names
          ]
          return True, packages[0]
      except ImportError:
          return False, None
  
imports: import importlib
  from sacred.utils import modules_exist
  from sacred.utils import get_package_version, parse_version
label_desc: Use image node_id 1 for calling a global function with example usage: optional_import() and returns: True,  packages, False,  None