Prefer `if 'HTTP_USER_AGENT' in request.META`