public static NodeFilter in(String states, boolean includeDeprovisioned) {
        if (states == null) {
            return NodeFilter.in(includeDeprovisioned
                                         ? EnumSet.allOf(Node.State.class)
                                         : EnumSet.complementOf(EnumSet.of(Node.State.deprovisioned)));
        }
        return NodeFilter.in(StringUtilities.split(states).stream()
                                            .map(Node.State::valueOf)
                                            .collect(Collectors.toSet()));
    }
Returns a node filter which matches a comma or space-separated list of states
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/filter/NodeFilter.java