def ForceUnicode(value):
 value = escape.to_unicode(value)
 return (_force_unicode_re.search(value) and (not _gsm_re.search(value)))

def ForceUnicode ( value ) : value = escape . to_unicode ( value ) return ( _force_unicode_re . search ( value ) and ( not _gsm_re . search ( value ) ) )
returns true if the value contains only gsm chars .