def __eq__(self, other):
    '\n        Returns true if both objects are equal\n        '
    return (self.__dict__ == other.__dict__)
Returns true if both objects are equal
def __eq__(self, other):
    '\n        \n        '
    return (self.__dict__ == other.__dict__)