public static boolean hasDelegatedClientAuthenticationCandidateProfile(final RequestContext context) {
        return context.getFlashScope().contains("delegatedClientAuthenticationCandidateProfile");
    }
Has delegated client authentication candidate profile?

@param context the context
@return true /false
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DelegationWebflowUtils.java