#NEWLINE# def __contains__( self , key ) : #NEWLINE# #INDENT# 'Return True if storage contains key' #NEWLINE# key = getattr ( self , '__module__' , key ) #NEWLINE# try : #NEWLINE# #INDENT# return self . backend . contains ( key ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# self . context . log . exception ( e ) #NEWLINE# raise