code: @Override
      public boolean isDirty() {
          return rewrite || delegate.size() > firstAppendedIndex || !modifiedIndexes.isEmpty() || getDirtyKeys().hasNext();
      }
docs: -------------------------------------------------------------