// Has returns whether the provided label exists.
435023
func (g gjsonLabels) Has(label string) bool {
	return gjson.GetBytes(g.json, label).Exists()
}
153814
func (t tagOptions) Has(opt string) bool {
	for _, tagOpt := range t {
		if tagOpt == opt {
			return true
		}
	}

	return false
}
706339
func (d Data) Has(key string) (interface{}, bool) {
	val, ok := d[key]
	return val, ok
}
1086028
func (p *Package) Has(name string) bool {
	_, has := p.Types[name]
	return has
}
589378
func (smap *syncedMap) Has(key interface{}) bool {
	_, ok := smap.Get(key)
	return ok
}
634817
func (ls LabelArray) Contains(needed LabelArray) bool {
nextLabel:
	for i := range needed {
		for l := range ls {
			if needed[i].Matches(&ls[l]) {
				continue nextLabel
			}
		}

		return false
	}

	return true
}
1071218
func (d *NullDatastore) Has(key Key) (exists bool, err error) {
	return false, nil
}
915944
func (s Int32) Has(item int32) bool {
	_, contained := s[item]
	return contained
}
477194
func (e *Endpoint) hasLabelsRLocked(l pkgLabels.Labels) bool {
	allEpLabels := e.OpLabels.AllLabels()

	for _, v := range l {
		found := false
		for _, j := range allEpLabels {
			if j.Equals(&v) {
				found = true
				break
			}
		}
		if !found {
			return false
		}
	}

	return true
}
886138
func (s *Sample) HasLabel(key, value string) bool {
	for _, v := range s.Label[key] {
		if v == value {
			return true
		}
	}
	return false
}
853388
func (t *LLRB) Has(key Item) bool {
	return t.Get(key) != nil
}
549839
func (l builtList) Has(name string) bool {
	_, ok := l[name]
	return ok
}
26247
func (h *Header) Has(k string) bool {
	_, ok := h.m[textproto.CanonicalMIMEHeaderKey(k)]
	return ok
}
695909
func (s *intSet) has(i int) bool {
	if s == nil {
		return false
	}
	_, present := s.members[i]
	return present
}
5493
func (bv Values) Has(value interface{}) bool {
	return bv.valueTypeExists(reflect.TypeOf(value))
}
926091
func (c Collector) Has(k string) bool {
	_, ok := c[k]
	return ok
}
825447
func (a Audiences) Has(taud string) bool {
	for _, aud := range a {
		if aud == taud {
			return true
		}
	}
	return false
}