public boolean canRun(NodeType type) {
        return childNodeType.map(t -> t == type).orElse(false);
    }
Returns whether given node type can run on this
config-provisioning/src/main/java/com/yahoo/config/provision/NodeType.java