def METHOD_NAME(selenium):
    """
    Check if unwanted modules are included in the zip file.
    """
    import pathlib
    import shutil
    import sys
    import tempfile
    extra_files = {
        "LICENSE.txt",
        "__phello__",
        "__hello__",
        "_sysconfigdata__emscripten_wasm32-emscripten",
        "site-packages",
        "lib-dynload",
        "pyodide",
        "_pyodide",
    }
    stdlib_names = sys.stdlib_module_names | extra_files
    zipfile = pathlib.Path(shutil.__file__).parent
    tmpdir = pathlib.Path(tempfile.mkdtemp())
    shutil.unpack_archive(zipfile, tmpdir, "zip")
    for f in tmpdir.glob("*"):
        assert f.name.removesuffix(".py") in stdlib_names, f.name