#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( other . __class__ is not other . __class__ ) : #NEWLINE# #INDENT# return NotImplemented #NEWLINE# #UNINDENT# return ( self . host_id == other . host_id )