def is_letter(uni_char):
 category = Category.get(uni_char)
 return ((category == Category.UPPERCASE_LETTER) or (category == Category.LOWERCASE_LETTER) or (category == Category.TITLECASE_LETTER) or (category == Category.MODIFIER_LETTER) or (category == Category.OTHER_LETTER))

def is_letter ( uni_char ) : category = Category . get ( uni_char ) return ( ( category == Category . UPPERCASE_LETTER ) or ( category == Category . LOWERCASE_LETTER ) or ( category == Category . TITLECASE_LETTER ) or ( category == Category . MODIFIER_LETTER ) or ( category == Category . OTHER_LETTER ) )
determine whether the given unicode character is a unicode letter .