def is_cased(info, char):
 return (len(_regex.get_all_cases(info.flags, char)) > 1)

def is_cased ( info , char ) : return ( len ( _regex . get_all_cases ( info . flags , char ) ) > 1 )
checks whether a character is cased .