#NEWLINE# def is_in_alphabet( self , uchr , alphabet ) : #NEWLINE# #INDENT# if self . no_memory : #NEWLINE# #INDENT# return ( alphabet in ud . name ( uchr ) ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return alphabet . alphabet_letters [ alphabet ] [ uchr ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return self . alphabet_letters [ alphabet ] . setdefault ( uchr , ( alphabet in ud . name ( uchr ) ) )