import requests


def check_if_server_is_accessible(schema_url: str) -> bool:
    """Check if request to 'schema_url' returns OK"""
    try:
        return requests.get(schema_url).ok
    except requests.ConnectionError:
        return False