public static boolean hasSurrogateAuthenticationRequest(final RequestContext requestContext) {
        return BooleanUtils.toBoolean(requestContext.getFlowScope().getBoolean(REQUEST_SURROGATE_ACCOUNT_ATTRIBUTE, Boolean.FALSE));
    }
Has request surrogate authentication request.

@param requestContext the request context
@return true /false
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java