import requests


def check_web_response(address):
    """Check whether a web server is returning code 200."""
    try:
        r = requests.get(address, timeout=5)
    except:
        return False
    return r.status_code == requests.codes.ok