code: public static Single<Boolean> isLeader() {
          return SingleRxXian
                  .call("zookeeper", "isLeader")
                  .flatMap(unitResponse -> Single.just(Objects.requireNonNull(unitResponse.dataToBoolean())));
      }
docs: 目前选举机制依赖zookeeper组件的存在