#NEWLINE# def validate_client_id( self , client_id , request , * args , **kwargs ) : #NEWLINE# #INDENT# 'Ensure client_id belong to a valid and active client.' #NEWLINE# log . debug ( 'Validate client %r' , client_id ) #NEWLINE# client = ( request . client or self . _clientgetter ( client_id ) ) #NEWLINE# if client : #NEWLINE# #INDENT# request . client = client #NEWLINE# return True #NEWLINE# #UNINDENT# return False