code: func ProcessRequirementsTags(reqs *Requirements, cvals Values) {
  	vt, err := cvals.Table("tags")
  	if err != nil {
  		return
  
  	}
  	if reqs == nil || len(reqs.Dependencies) == 0 {
  		return
  	}
  	for _, r := range reqs.Dependencies {
  		if len(r.Tags) > 0 {
  			tags := r.Tags
  
  			var hasTrue, hasFalse bool
  			for _, k := range tags {
  				if b, ok := vt[k]; ok {
  					// if not bool, warn
  					if bv, ok := b.(bool); ok {
  						if bv {
  							hasTrue = true
  						} else {
  							hasFalse = true
  						}
  					} else {
  						log.Printf("Warning: Tag '%s' for chart %s returned non-bool value", k, r.Name)
  					}
  				}
  			}
  			if !hasTrue && hasFalse {
  				r.Enabled = false
  			} else if hasTrue || !hasTrue && !hasFalse {
  				r.Enabled = true
  
  			}
  
  		}
  	}
  
  }
docs: // ProcessRequirementsTags disables charts based on tags in values