def is_similar(self, other):
        if isinstance(other, Line3D):
            if self.direction_cosine == other.direction_cosine and other.p1 in self:
                return True
            else:
                return False
        raise NotImplementedError()
Verify if column is sortable.
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line3d.py/LinearEntity3D.is_similar--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView.is_sortable