#NEWLINE# def set( self , key , value ) : #NEWLINE# #INDENT# if ( ( key in self . data ) and ( self . data [ key ] == self ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# self . data [ key ] = value #NEWLINE# return True