def validate_client_id(self, client_id, request, *args, **kwargs):
log.debug('<STR_LIT>', client_id)<EOL>client = request.client or self._clientgetter(client_id)<EOL>if client:<EOL><INDENT>request.client = client<EOL>return True<EOL><DEDENT>return False<EOL>
Ensure client_id belong to a valid and active client.