'Does this topology have a writable server available?
.. note:: When connected directly to a single server this method
always returns ``True``.
.. versionadded:: 3.4'

def has_writable_server(self):

    return self.has_readable_server(ReadPreference.PRIMARY)
