def nodes_changed?(new_nodes)
      return true if address_for(@master) != new_nodes[:master]
      return true if different?(addresses_for(@slaves), new_nodes[:slaves])
      false
    end
def nodes_changed?(new_nodes)
      return true if address_for(@master) != new_nodes[:master]
      return true if different?(addresses_for(@slaves), new_nodes[:slaves])
      false
    end
Determines if the currently known redis servers is different
 from the nodes returned by ZooKeeper.

 @param [Array<String>] new_nodes the new redis nodes
 @return [Boolean] true if nodes are different, false otherwise