public NodeFilter matching(Predicate<Node> filter) {
        return new NodeFilter(states, filter);
    }
Returns a copy of this that matches with given filter
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/filter/NodeFilter.java