public boolean hasSeenMessage(final MessageData message) {
    final Hash uniqueID = Hash.hash(message.getData());
    return seenMessages.contains(uniqueID);
  }
Has seen message.

@param message the message
@return the boolean
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/MessageTracker.java