public boolean isVoteRejected() {
        return numGranted() + numUnrecorded() < majoritySize();
    }
Check if we have received enough rejections that it is no longer possible to reach a
majority of grants.

@return true if the vote is rejected, false if the vote is already or can still be granted
raft/src/main/java/org/apache/kafka/raft/CandidateState.java