The main rqlite code needs this logic to check if the Discovery Service should even be accessed. This code makes assumptions about how the Raft module works, which is subject to change. The new unit tests should capture that.