def update_is_writable(self, is_writable):
        """Updates the is_writable attribute on all sockets currently in the
        Pool.
        """
        self.is_writable = is_writable
        with self.lock:
            for socket in self.sockets:
                socket.update_is_writable(self.is_writable)
Updates the is_writable attribute on all sockets currently in the
        Pool.
        
stackoverflow/venv/lib/python3.6/site-packages/pymongo/pool.py