#NEWLINE# def exists_client( self , client_id ) : #NEWLINE# #INDENT# 'Checks if a client exists, given its client_id' #NEWLINE# return ( self . db . clients . find ( { #NEWLINE# #INDENT# '_id' : self , #NEWLINE# #UNINDENT# } ) != None )