def valid_id(opts, id_):
    try:
        return bool(clean_path(opts['pki_dir'], id_))
    except (AttributeError, KeyError) as e:
        return False
Determines whether or not this iterator has more pages.
dataset/ETHPy150Open saltstack/salt/salt/utils/verify.py/valid_id--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/iterator.py/Iterator.has_next_page