def verify(expr):
    try:
        compile(expr)
        return True
    except com.TranslationError:
        return False
Determine if expression can be successfully translated to execute on Impala
dataset/ETHPy150Open cloudera/ibis/ibis/impala/api.py/verify