code: public @NotNull List<Page> getPages(@NotNull Predicate<Page> filter) {
      return getPages(filter, (Page)null);
    }
docs: Get the pages selected in the suffix of the URL with page paths relative
  to the current page path.
  @param filter optional filter to select only specific pages
  @return a list containing the Pages