private boolean hasIdentityProvider(ContainerCluster<? extends Container> cluster) {
        for (Component<?, ?> component : cluster.getAllComponents()) {
            if (component instanceof IdentityProvider) return true;
        }
        return false;
    }
Validates the requirements for setting up a secret store.

@author gjoranv
config-model/src/main/java/com/yahoo/vespa/model/application/validation/SecretStoreValidator.java