def has_flag(conf, atom, flag):
    if flag in get_flags_from_package_conf(conf, atom):
        return True
    return False
Verify if the given package or DEPEND atom has the given flag.
dataset/ETHPy150Open saltstack/salt/salt/modules/portage_config.py/has_flag