public static boolean isDeleteNodeGeneratedInLocalByIoTV2(AbstractDeleteDataNode node) {
    if (node.getProgressIndex() instanceof RecoverProgressIndex) {
      RecoverProgressIndex recoverProgressIndex = (RecoverProgressIndex) node.getProgressIndex();
      return recoverProgressIndex
          .getDataNodeId2LocalIndex()
          .containsKey(IoTDBDescriptor.getInstance().getConfig().getDataNodeId());
    }
    return false;
  }
Only the default implementation is provided here, which will not be called in practice, but is
only used to implement the interface
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/consensus/deletion/DeletionResource.java