public static Boolean isExistingSingleSignOnSessionAvailable(final MockRequestContext context) {
        return context.getFlowScope().get("existingSingleSignOnSessionAvailable", Boolean.class);
    }
Is existing single sign on session available boolean.

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