static boolean isDocumentUpdated(@NotNull Editor editor) {
    Document document = editor.getDocument();
    long stamp = getTimestamp(editor, document);
    Long prevStamp = document.getUserData(LAST_TIME_CONTENT_INDENT_CHANGED);
    return prevStamp == null || prevStamp != stamp;
  }
static boolean isDocumentUpdated(@NotNull Editor editor)