Add EntityMessageSet.containsEntityMessage(...) to test whether the set contains a message.
Mark the EntityMessageSet class as final.