def is_chinese(name):
if not name:<EOL><INDENT>return False<EOL><DEDENT>for ch in name:<EOL><INDENT>ordch = ord(ch)<EOL>if not (<NUM_LIT> <= ordch <= <NUM_LIT>) and not (<NUM_LIT> <= ordch <= <NUM_LIT>)and not (<NUM_LIT> <= ordch <= ordch) and not (<NUM_LIT> <= ordch <= <NUM_LIT>): <EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Check if a symbol is a Chinese character.

Note
----

Taken from http://stackoverflow.com/questions/16441633/python-2-7-test-if-characters-in-a-string-are-all-chinese-characters