def METHOD_NAME(self):
    full_mod_name = self.__name__
    lazy_mod_config = self._lazy_mod_config
    old_mod_name = lazy_mod_config.get("old_mod_name", None)
    full_old_mod_name = lazy_mod_config.get("full_old_mod_name", None)
    modules = lazy_mod_config.get("modules", None)
    if full_mod_name in _mod_cache:
        module = _mod_cache[full_mod_name]
    else:
        try:
            module = importlib.import_module(full_mod_name)
        except Exception:
            # Note: If we get any exception in the module itself (e.g. No module named 'theano' or so),
            # just pass it on. But this can happen.
            raise
        _mod_cache[full_mod_name] = module
    if old_mod_name:
        sys.modules[old_mod_name] = module
    if full_old_mod_name:
        sys.modules[full_old_mod_name] = module
    if modules is not None:
        assert old_mod_name
        modules[old_mod_name] = module
    # Do not set self.__dict__, because the module itself could later update itself.
    return module