class_docstr: A loader that creates a module which defers loading until attribute access.
class_docstr_tok: ["A","loader","that","creates","a","module","which","defers","loading","until","attribute","access","."]
code: def __check_eager_loader(loader):
      if not hasattr(loader, "exec_module"):
          raise TypeError("loader must define exec_module()")
  
imports: from ._abc import Loader
  from ._bootstrap import module_from_spec
  from ._bootstrap import _resolve_name
  from ._bootstrap import spec_from_loader
  from ._bootstrap import _find_spec
  from ._bootstrap_external import MAGIC_NUMBER
  from ._bootstrap_external import _RAW_MAGIC_NUMBER
  from ._bootstrap_external import cache_from_source
  from ._bootstrap_external import decode_source
  from ._bootstrap_external import source_from_cache
  from ._bootstrap_external import spec_from_file_location
  from contextlib import contextmanager
  import _imp
  import functools
  import sys
  import types
  import warnings
label_desc: Use image node_id 1 for calling the LazyLoader obj's underlying member method code with example usage: obj.__check_eager_loader(loader) without return types