def METHOD_NAME(host):
    """
    Ensure swap space is disabled. Prohibit writing memory to swapfiles
    to reduce the threat of forensic analysis leaking any sensitive info.
    """
    hostname = host.check_output("hostname")
    # Mon doesn't have swap disabled yet
    if hostname.startswith("mon"):
        return True
    c = host.check_output("swapon --summary")
    # A leading slash will indicate full path to a swapfile.
    assert not re.search("^/", c, re.M)
    # Since swapon 2.27.1, the summary shows blank output, with no headers,
    # when no swap is configured, check for empty output as confirmation disabled.
    rgx = re.compile("^$")
    assert re.search(rgx, c)