protected bool isRenewPresent(HttpContext context) { return StringUtils.hasText(context.getRequestParameters().get("renew")); }