code: public ResponseBuilder addMementoHeaders(final ResponseBuilder builder, final SortedSet<Instant> mementos) {
          // Only show memento links for the user-managed graph (not ACL)
          if (!ACL.equals(getRequest().getExt())) {
              builder.link(getIdentifier(), "original timegate")
                  .links(MementoResource.getMementoLinks(getIdentifier(), mementos)
                          .map(link -> MementoResource.filterLinkParams(link, !includeMementoDates))
                          .toArray(Link[]::new));
          }
          return builder;
      }
docs: Add the memento headers.
  @param builder the ResponseBuilder
  @param mementos the list of memento ranges
  @return the response builder