def valid_credentials( source):
    for site in source:

        #Pull Name
        name = site.name
        if not name:
            continue

        workers = Workers.get_worker_from(name)
        if not workers:
            continue

        for user, password in workers:
            if len(list(bitHopper.LaggingLogic.filter_lag([(name, user, password)]))):
                yield site
Only allows through sites with valid credentials
dataset/ETHPy150Open c00w/bitHopper/bitHopper/Logic/ServerLogic.py/valid_credentials