#NEWLINE# def _has_changed( self , initial , data ) : #NEWLINE# #INDENT# '\n        Return True if data differs from initial.\n        ' #NEWLINE# if ( data is None ) : #NEWLINE# #INDENT# data_value = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# data_value = data #NEWLINE# #UNINDENT# if ( initial is None ) : #NEWLINE# #INDENT# initial_value = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# initial_value = initial #NEWLINE# #UNINDENT# if ( force_unicode ( initial_value ) != force_unicode ( data_value ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return False