Adapted etcd leadership check