docs: public static boolean hasSelector(@NotNull SlingHttpServletRequest request, @NotNull String expectedSelector) {
      String[] selectors = request.getRequestPathInfo().getSelectors();
      return ArrayUtils.contains(selectors, expectedSelector);
    }