@classmethod
    def _is_func_rational(cls, poly, func):
        var, expr = func.variables[0], func.expr
        return expr.is_rational_function(var)
Test if it return the latest version of the named package
dataset/ETHPy150Open sympy/sympy/sympy/polys/rootoftools.py/RootSum._is_func_rational--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/pkgutil_test.py/PkgutilTestCase.test_latest_version