"""Given a role (Leader, Follower, Candidate, or IsolatedLeader),
shardname (e.g. shard-inventory-config), controller IP address,
and number of shards on the controller,this function determines if the controller,
"""Given a role (Leader, Follower, Candidate, or IsolatedLeader),
shardname (e.g. shard-inventory-config), controller IP address,
and number of shards on the controller,this function determines if the controller,