def writable(self):
        return self.connected and bool(self._outgoing_commands or self._outgoing_buffer)
Returns True if we have data to write
dataset/ETHPy150Open YelpArchive/python-gearman/gearman/connection.py/GearmanConnection.writable