def check_scheme(url):
    if url and (url.startswith('http://') or url.startswith('https://')):
        return True
    return False
Check URL for a scheme
dataset/ETHPy150Open huntrar/scrape/scrape/utils.py/check_scheme