import requests
import math


def is_ok(url: str) -> bool:
    """
    Returns True if the provided URL responds with a 2XX when fetched via
    a HTTP GET request.
    """
    try:
        resp = requests.get(url)
    except:
        return False
    return True if math.floor(resp.status_code / 100) == 2 else False