public ResultWrapper <bool> IsMaster(string nodeName) { var response = _clusterClient.ClusterState <MasterNode>("master_node"); var result = Request <bool, MasterNode>(response, (r) => r.Success && r.Response.master_node == nodeName); return(result); }