def authenticate_client_id(self, client_id, request, *args, **kwargs):
        log.debug('Authenticate client %r.', client_id)
        client = request.client or self._clientgetter(client_id)
        if not client:
            log.debug('Authenticate failed, client not found.')
            return False

        # attach client on request for convenience
        request.client = client
        return True
**SUMMARY**
dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2RequestValidator.authenticate_client_id--crossover with--dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/LineScan.py/LineScan.findFirstIdxEqualTo