@staticmethod
    def Pow(expr, assumptions):
        return expr.exp.is_Rational or ask(
            Q.algebraic(expr.base), assumptions)
dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py/AskAlgebraicHandler.Pow/operator `and` -> `or`