code: def create_package_from_loader(loader, is_package=True):
      name = "testingpackage"
      module = types.ModuleType(name)
      spec = ModuleSpec(
          name, loader, origin="does-not-exist", is_package=is_package
      )
      module.__spec__ = spec
      module.__loader__ = loader
      return module
  
imports: import abc
  import importlib
  import io
  import sys
  import types
  import pathlib
  from .None import data01
  from .None import zipdata01
  from importlib.resources.abc import ResourceReader
  from test.support import import_helper
  from importlib.machinery import ModuleSpec
label_desc: Use image node_id 1 for calling a global function with example usage: create_package_from_loader(loader, is_package) and returns: module