def __ne__(self, other):
    try:
        return (self._mobject != other._mobject)
    except AttributeError:
        return (str(self) != str(other))
def __ne__(self, other):
    try:
        return (self._mobject != other._mobject)
    except AttributeError:
        return (str(self) != str(other))