code: public Optional<Tuple2<String, UUID>> getLeaderNow() throws Exception {
  		CompletableFuture<Tuple2<String, UUID>> leaderFuture = this.atomicLeaderFuture.get();
  		if (leaderFuture != null) {
  			if (leaderFuture.isDone()) {
  				return Optional.of(leaderFuture.get());
  			} else {
  				return Optional.empty();
  			}
  		} else {
  			return Optional.empty();
  		}
  	}
docs: Returns the current leader information if available. Otherwise it returns an
  empty optional.
  
  @return The current leader information if available. Otherwise it returns an
  empty optional.
  @throws Exception if the leader future has been completed with an exception