MongoDB\Driver\TopologyDescription::hasWritableServer — Returns whether the topology has a writable server
Returns whether the topology has a writable server.
This function has no parameters.