private boolean isDeviceDeletedByMods(
      Collection<ModEntry> modifications, IDeviceID device, long startTime, long endTime) {
    return ModificationUtils.isAllDeletedByMods(modifications, device, startTime, endTime);
  }
Check whether the device is completely deleted by mods or not.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/SettleSelectorImpl.java