default boolean shouldGenerateMetadataFor(final Optional<SamlRegisteredService> registeredService) {
        return registeredService.isEmpty();
    }
Should generate metadata for service?

@param registeredService the registered service
@return true/false
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/idp/metadata/locator/SamlIdPMetadataLocator.java