isEmptyDueToFiltering() {
    return this.isEmpty() && this.rawMessages.length > 0
  }
If the batch contained raw messages (i.e was not truly empty) but all messages were filtered out due to
log compaction, control records or other reasons