public boolean isGeneratedByPipeConsensus() {
    return isGeneratedByPipeConsensus;
  }
The method is used to prevent circular replication in PipeConsensus
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java