@Override
  public boolean isOverlapped(Interval interval) {
    for (Interval currentInterval : intervalList) {
      boolean isOverlap =
          interval.getStart() <= currentInterval.getEnd()
              && interval.getEnd() >= currentInterval.getStart();
      if (isOverlap) {
        return true;
      }
    }
    return false;
  }
case 1: interval.getStart() <= currentInterval.getEnd()

<p>currentInterval: [5,10], interval: [6,15],[1,7],[0,5],[10,15]

<p>case 2: interval.getEnd() <= currentInterval.getEnd()

<p>currentInterval: [5,10], interval:[1,9],[0,9],[1,10]
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/ListTimeRangeImpl.java