docs: protected boolean isRequestAskingForServiceTicket(final RequestContext context) {
          val ticketGrantingTicketId = WebUtils.getTicketGrantingTicketId(context);
          LOGGER.debug("Located ticket-granting ticket [{}] from the request context", ticketGrantingTicketId);
  
          val service = WebUtils.getService(context);
          LOGGER.debug("Located service [{}] from the request context", service);
  
          val renewParam = getWebflowEventResolutionConfigurationContext().getCasProperties().getSso().isRenewAuthnEnabled()
              ? context.getRequestParameters().get(CasProtocolConstants.PARAMETER_RENEW)
              : StringUtils.EMPTY;
          LOGGER.debug("Provided value for [{}] request parameter is [{}]", CasProtocolConstants.PARAMETER_RENEW, renewParam);
  
          if (service != null && StringUtils.isNotBlank(ticketGrantingTicketId)) {
              val authn = getWebflowEventResolutionConfigurationContext().getTicketRegistrySupport().getAuthenticationFrom(ticketGrantingTicketId);
              if (StringUtils.isNotBlank(renewParam)) {
                  LOGGER.debug("Request identifies itself as one asking for service tickets. Checking for authentication context validity...");
                  val validAuthn = authn != null;
                  if (validAuthn) {
                      LOGGER.debug("Existing authentication context linked to ticket-granting ticket [{}] is valid. "
                          + "CAS should begin to issue service tickets for [{}] once credentials are renewed", ticketGrantingTicketId, service);
                      return true;
                  }
                  LOGGER.debug("Existing authentication context linked to ticket-granting ticket [{}] is NOT valid. "
                          + "CAS will not issue service tickets for [{}] just yet without renewing the authentication context",
                      ticketGrantingTicketId, service);
                  return false;
              }
          }
  
          LOGGER.debug("Request is not eligible to be issued service tickets just yet");
          return false;
      }