# File lib/mongo/cluster/topology/replica_set_no_primary.rb, line 91 def has_writable_server?(cluster) cluster.servers.any?{ |server| server.primary? } end