public static boolean isValidVoteValue(final long value) {
    return voteToValue.values().contains(value);
  }
Is valid vote value.

@param value the value
@return the boolean
consensus/clique/src/main/java/org/hyperledger/besu/consensus/clique/CliqueBlockInterface.java