@Override
        public void verify() {
            OptionalLong leaderHighWatermark = cluster.leaderHighWatermark();
            leaderHighWatermark.ifPresent(newHighWatermark -> {
                long oldHighWatermark = highWatermark;
                this.highWatermark = newHighWatermark;
                if (newHighWatermark < oldHighWatermark) {
                    fail("Non-monotonic update of high watermark detected: " +
                            oldHighWatermark + " -> " + newHighWatermark);
                }
            });
        }
Returns if the message should be sent to the destination.

Returns false when outbound request messages contains a destination {@code Node} that
matches the set of unreachable {@code InetSocketAddress}. Note that the {@code Node.id()}
and {@code Node.rack()} are not compared.

@param message the raft message
@return true if the message should be delivered, otherwise false
raft/src/test/java/org/apache/kafka/raft/RaftEventSimulationTest.java