code: protected String getStyleSheetName(final HttpServletRequest request, PreferencesScope scope) {
          final String stylesheetNameFromRequest;
  
          if (scope.equals(PreferencesScope.STRUCTURE)) {
              stylesheetNameFromRequest =
                      (String) request.getAttribute(STYLESHEET_STRUCTURE_OVERRIDE_REQUEST_ATTRIBUTE);
          } else {
              stylesheetNameFromRequest =
                      (String) request.getAttribute(STYLESHEET_THEME_OVERRIDE_REQUEST_ATTRIBUTE_NAME);
          }
  
          return stylesheetNameFromRequest;
      }
docs: Returns the stylesheet name if overridden in the request object.
  
  @param request HttpRequest
  @param scope Scope (Structure or Theme)
  @return Stylesheet name if set as an override in the request, else null if it was not.