public boolean isPriorityDisabled() {
        return this.priority <= ElectionPriority.Disabled;
    }
@Test
    public void testIsPriorityDisabled() {

        final Endpoint endpoint1 = new Endpoint("192.168.1.1", 8081);
        final PeerId peer1 = new PeerId(endpoint1, 0);
        assertEquals("192.168.1.1:8081", peer1.toString());
        assertTrue(peer1.isPriorityDisabled());
    }