def filter_hoppable( source):

    for pool in source:
        if not pool.payout_scheme:
            continue
        if pool.payout_scheme.lower() in ['prop','score']:
            yield pool
returns an iterator of hoppable pools
dataset/ETHPy150Open c00w/bitHopper/bitHopper/Logic/ServerLogic.py/filter_hoppable