def _unicode_char(char):  
try:<EOL><INDENT>char.encode("<STR_LIT:ascii>")<EOL><DEDENT>except UnicodeEncodeError:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Return true if character is Unicode (non-ASCII) character.