def acquire_leadership(self):
        if self.leader_is_alive():
            self._acquiring = False

        else:
            self._acquiring = True
            self.prepare()
Initiates the leadership acquisition process if the current leader
dataset/ETHPy150Open cocagne/paxos/paxos/functional.py/HeartbeatNode.acquire_leadership