@JsonIgnore
    @Override
    public boolean supportsClusterType(ClusterSpec.Type clusterType) {
        return resources.stream().anyMatch(resource -> resource.clusterType().map(type -> clusterType.name().equalsIgnoreCase(type)).orElse(true));
    }
Whether there are any shared hosts specifically for the given cluster type, or without a cluster type restriction.
flags/src/main/java/com/yahoo/vespa/flags/custom/SharedHost.java