private static boolean isSuspendedConsistent(Node node, boolean isSuspended) {
        return isSuspended ? node.history().isSuspended() : node.history().isResumed();
    }
Get node by given hostname and application. The applicationLock must be held when calling this
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeHealthTracker.java