Tests whether the given message should be kept.
true to keep the message, false to discard it.
true
false
The message to test.