#NEWLINE# def contains( self , field ) : #NEWLINE# #INDENT# '\n        Uses hexists to see if the given field is present\n        ' #NEWLINE# key = self . get_key ( ) #NEWLINE# result = self . redis . hexists ( key , field ) #NEWLINE# activity_found = bool ( result ) #NEWLINE# return activity_found