def done(self):
        return (self._result is not None or self._error is not None)
return True if the command has been completed or returned an error
dataset/ETHPy150Open benoitc/gaffer/gaffer/httpclient/websocket.py/GafferCommand.done