def dmp_sqf_p(f, u, K):
    if dmp_zero_p(f, u):
        return True
    else:
        return not dmp_degree(dmp_gcd(f, dmp_diff(f, 1, u, K), u, K), u)
Can wrap value types if needed
dataset/ETHPy150Open sympy/sympy/sympy/polys/sqfreetools.py/dmp_sqf_p--crossover with--dataset/ETHPy150Open RobotLocomotion/director/src/python/urdf_parser_py/xml_reflection/core.py/get_type