def has_flag(conf, atom, flag):
 if (flag in get_flags_from_package_conf(conf, atom)):
  return True
 return False

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 .