import requests


def validate_request_response(resp):
    """Return True iff resp returned an OK and is not an Exception."""
    return (resp and not
            (isinstance(resp, requests.exceptions.RequestException) or
             resp.status_code != 200))