public static boolean containsUri(final String claimUri) {
        return Arrays.stream(WSFederationClaims.values()).anyMatch(c -> c.getUri().equalsIgnoreCase(claimUri));
    }
Contains uri boolean.

@param claimUri the claim uri
@return true/false
support/cas-server-support-ws-idp-api/src/main/java/org/apereo/cas/ws/idp/WSFederationClaims.java