docs: public DefaultRaftMember getLeader() {
      // Store in a local variable to prevent race conditions and/or multiple volatile lookups.
      MemberId leader = this.leader;
      return leader != null ? cluster.getMember(leader) : null;
    }