public static boolean isDynamicMetadataQueryConfigured(final String metadataLocation) {
        return StringUtils.isNotBlank(metadataLocation) && metadataLocation.trim().endsWith("/entities/{0}");
    }
Is dynamic metadata query configured ?

@param metadataLocation - the location of the metadata to resolve
@return true/false
support/cas-server-support-saml-core-api/src/main/java/org/apereo/cas/support/saml/SamlUtils.java