public static boolean isAllAggregatorsHasFinalResult(List<TreeAggregator> aggregators) {
    for (TreeAggregator aggregator : aggregators) {
      if (!aggregator.hasFinalResult()) {
        return false;
      }
    }
    return true;
  }
return whether the tsBlock contains the data of the current time window.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/AggregationUtil.java