def equals(self, other):
        if not isinstance(other, Line):
            return False
        return Point.is_collinear(self.p1, other.p1, self.p2, other.p2)
Derived from mel command `maya.cmds.getLastError`
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line.py/Line.equals--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/language.py/getLastError