code: def import_importlib(module_name):
      """Import a module from importlib both w/ and w/o _frozen_importlib."""
      fresh = ("importlib",) if "." in module_name else ()
      frozen = import_helper.import_fresh_module(module_name)
      source = import_helper.import_fresh_module(
          module_name,
          fresh=fresh,
          blocked=("_frozen_importlib", "_frozen_importlib_external"),
      )
      return {"Frozen": frozen, "Source": source}
  
imports: import builtins
  import contextlib
  import errno
  import functools
  from importlib import machinery, util, invalidate_caches
  import marshal
  import os
  import os.path
  from test.support import import_helper
  from test.support import os_helper
  import unittest
  import sys
  import tempfile
  import types
label_desc: Use image node_id 2 for calling a global function with example usage: import_importlib(module_name) and returns: dict