def check_is_available():
    url = f'{SERVER_URL}/{IS_AVAILABLE_URL}'
    result = SESSION.get(url, verify=USE_SSL)
    return ('ok' if result.json()['is_available'] else None)
def check_is_available():
    url = f'{SERVER_URL}/{IS_AVAILABLE_URL}'
    result = SESSION.get(url, verify=USE_SSL)
    return ('ok' if result.json()['is_available'] else None)