@ApiStatus.Internal
  public static boolean isIntervalFolded(@NotNull Editor editor, int startLine, int endLine) {
    TextRange range = DiffUtil.getLinesRange(editor.getDocument(), startLine, endLine);
    return FoldingUtil.isTextRangeFolded(editor, range);
  }
@ApiStatus.Internal
  public static boolean isIntervalFolded(@NotNull Editor editor, int startLine, int endLine)