code: func matchesLabelValue(labels []*dto.LabelPair, name, value string) bool {
  	for _, label := range labels {
  		if label.GetName() == name {
  			return label.GetValue() == value
  		}
  	}
  	return false
  }
docs: // matchesLabelValue returns true if a list of label pairs
  // matches required name/value pair, used to slice vectors by component