public static boolean isGraphicalUserAuthenticationEnabled(final RequestContext requestContext) {
        return BooleanUtils.isTrue(requestContext.getFlowScope().get("guaEnabled", Boolean.class));
    }
Put graphical user authentication enabled.

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