code: public static boolean getWarningCookie(final RequestContext context) {
          val val = ObjectUtils.defaultIfNull(context.getFlowScope().get("warnCookieValue"), Boolean.FALSE.toString()).toString();
          return Boolean.parseBoolean(val);
      }
docs: Gets warning cookie.
  
  @param context the context
  @return warning cookie value, if present.