code: def try_import(package, message=None, fromlist=None):
      """Try import specified package, with custom message support.
  
      Parameters
      ----------
      package : str
          The name of the targeting package.
      message : str, default is None
          If not None, this function will raise customized error message when import error is found.
  
  
      Returns
      -------
      module if found, raise ImportError otherwise
  
      """
      try:
          return __import__(package, fromlist=fromlist)
      except ImportError as e:
          if not message:
              raise e
          raise ImportError(message)
  
imports: import os
  import errno
  import contextlib
  from pathlib import Path
  import tarfile
  import zipfile
label_desc: Use image node_id 2 for calling a global function with example usage: try_import(package, message, fromlist) and returns: __import__