#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# 'Implement equality operator.' #NEWLINE# return ( isinstance ( other , other . __class__ ) and ( self . SerializeToString ( ) == other . SerializeToString ( ) ) )