@Override
    public boolean supports(final RegisteredService registeredService, final Service service) {
        return service.getAttributes().containsKey(WSFederationConstants.WREPLY)
            && registeredService instanceof WSFederationRegisteredService;
    }
This is {@link WsFederationServicesManagerRegisteredServiceLocator}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-ws-idp/src/main/java/org/apereo/cas/ws/idp/services/WsFederationServicesManagerRegisteredServiceLocator.java