public boolean isPriorityDisabled() {
        return this.priority <= ElectionPriority.Disabled;
    }
To judge whether the priority election function is disabled or not in this node.

@return the result that whether this node has priority election function or not.
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/PeerId.java