def is_finished(self):
        from impala.error import ProgrammingError
        self._wait_execute()
        try:
            return self._cursor.is_finished()
        except ProgrammingError as e:
            if 'state is not available' in e.args[0]:
                return True
            raise
Return True if the operation is finished
dataset/ETHPy150Open cloudera/ibis/ibis/impala/client.py/ImpalaAsyncQuery.is_finished