private static boolean test(Column column, int position, boolean testValue) {
    if (column.isNull(position)) {
      return false;
    }
    if (testValue && !column.getBoolean(position)) {
      return false;
    }
    return true;
  }
Do not use this to filter a page, as the underlying array can change, and this will change the
page after the filtering.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/aggregation/AggregationMask.java