import requests


def check_url_response(url: str) -> bool:
    """Confirms the HTTP response from the provided url.
    Using HTTP requests attempts to check
    whether a site under the url is online.

    Args:
        url: url to a site

    Returns:
        True if site is online, False otherwise
    """
    with requests.get(url, timeout=5) as r:
        return r.ok