def METHOD_NAME(host, kernel_module):
    """
    Test that unwanted kernel modules are blacklisted on the system.
    Mostly these checks are defense-in-depth approaches to ensuring
    that wireless interfaces will not work.
    """
    with host.sudo():
        c = host.run("lsmod")
        assert kernel_module not in c.stdout
    f = host.file("/etc/modprobe.d/blacklist.conf")
    assert f.contains(f"^blacklist {kernel_module}$")