Check if a URL is reachable.

def url_ok(match_tuple: MatchTuple) -> bool:
    """Check if a URL is reachable."""
    try:
        result = requests.get(match_tuple.link, timeout=5)
        return result.ok
    except (requests.ConnectionError, requests.Timeout):
        return False