public static Predicate<Node> from(Collection<CloudAccount> unwantedAccounts, boolean enabled) {
        Objects.requireNonNull(unwantedAccounts, "unwantedAccounts cannot be null");
        return node -> {
            if (unwantedAccounts.isEmpty()) return true;
            if (! enabled) return true;
            return ! unwantedAccounts.contains(node.cloudAccount());
        };
    }
Creates a node filter which removes the nodes from the given cloud accounts
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/filter/CloudAccountFilter.java