@Override
        public boolean contains(final Object o) {
            var uri = StringUtils.EMPTY;
            if (o instanceof final URI instance) {
                uri = instance.toASCIIString();
            } else {
                uri = o.toString();
            }
            return StringUtils.isNotBlank(uri) && namespaces.stream().anyMatch(uri::startsWith);
        }
This is {@link CustomNamespaceWSFederationClaimsClaimsHandler}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-ws-sts-api/src/main/java/org/apereo/cas/support/claims/CustomNamespaceWSFederationClaimsClaimsHandler.java