def connected():
    try:
        get('https://example.com', 2)
        return True
    except:
        return False
def connected():
    try:
        get('https://example.com', 2)
        return True
    except:
        return False