public static boolean isCasLoginFormSetToViewable(final RequestContext context) {
        return context.getFlowScope().getBoolean("casLoginFormViewable", Boolean.FALSE);
    }
Has login form been set to viewable explicitly.

@param context the context
@return true /false Defaults to FALSE if not set in flow scope
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java