def METHOD_NAME():
    """
    Returns: True if the deployment is in a VM/container.
    """
    try:
        if os.path.isdir("/run/systemd/system"):
            container = check_output("sudo systemd-detect-virt --container".split())
            print("Tests are running in {}".format(container))
            return True
    except CalledProcessError:
        print("systemd-detect-virt did not detect a container")
    if os.path.exists("/run/container_type"):
        return True
    try:
        check_call("sudo grep -E (lxc|hypervisor) /proc/1/environ /proc/cpuinfo".split())
        print("Tests are running in an undetectable container")
        return True
    except CalledProcessError:
        print("no indication of a container in /proc")
    return False