public static boolean isPointDeleted(
      long timestamp, List<TimeRange> deletionList, int[] deleteCursor) {
    if (deleteCursor.length != 1) {
      throw new IllegalArgumentException("deleteCursor should be an array whose size is 1");
    }
    while (deletionList != null && deleteCursor[0] < deletionList.size()) {
      if (deletionList.get(deleteCursor[0]).contains(timestamp)) {
        return true;
      } else if (deletionList.get(deleteCursor[0]).getMax() < timestamp) {
        deleteCursor[0]++;
      } else {
        return false;
      }
    }
    return false;
  }
modifyChunkMetaData iterates the chunkMetaData and applies all available modifications on it to
generate a ModifiedChunkMetadata. <br>
the caller should guarantee that chunkMetaData and modifications refer to the same time series
paths.

@param chunkMetaData the original chunkMetaData.
@param modifications all possible modifications.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/ModificationUtils.java