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
Shortcut function to get a query result filtered by given filter,
dataset/ETHPy150Open cloudera/ibis/ibis/impala/client.py/ImpalaAsyncQuery.is_finished--crossover with--dataset/ETHPy150Open jkossen/imposter/frontend.py/get_posts