def __eq__()

in fairmotion/core/motion.py [0:0]


    def __eq__(self, other):
        if (self.xform_from_parent_joint != other.xform_from_parent_joint).any():
            return False
        if (self.xform_global != other.xform_global).any():
            return False
        if "dof" in self.info and "dof" in other.info:
            if self.info["dof"] != other.info["dof"]:
                return False
        if len(self.child_joints) != len(other.child_joints):
            return False
        return True