def is_similar(self, other):
        def _norm(a, b, c):
            if a != 0:
                return 1, b/a, c/a
            elif b != 0:
                return a/b, 1, c/b
            else:
                return c
        return _norm(*self.coefficients) == _norm(*other.coefficients)
Return True if self and other are contained in the same line.
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line.py/LinearEntity.is_similar