public boolean isGranted() {
        return this.quorum <= 0 && this.oldQuorum <= 0;
    }
Returns true when the ballot is granted.

@return true if the ballot is granted
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/Ballot.java