pkg/labels/labels.go
func (ls Labels) Has(name string) bool {
	for _, l := range ls {
		if l.Name == name {
			return true
		}
	}
	return false
}
func (ls Labels) Has(name string) bool {
	for _, l := range ls {
		if l.Name == name {
			return true
		}
	}
	return false
}
func ( ls Labels ) Has ( name string ) bool { for _ , l := range ls { if l . Name == name { return true } } return false }
// Has returns true if the label with the given name is present.
Has returns true if the label with the given name is present .