protected boolean isSurrogateAuthenticationSession(final RegisteredServiceAccessStrategyRequest request) {
        return request.getAttributes().containsKey(SurrogateAuthenticationService.AUTHENTICATION_ATTR_SURROGATE_ENABLED);
    }
This is {@link BaseSurrogateRegisteredServiceAccessStrategy}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-surrogate-api/src/main/java/org/apereo/cas/services/BaseSurrogateRegisteredServiceAccessStrategy.java