code: func allNamedResources(res []string) bool {
  	for _, v := range res {
  		if _, err := discreteResourceVal(v); err == nil {
  			return false
  		}
  	}
  
  	return true
  }
docs: // allNamedResources returns true if the array of resources are all namedResources
  // e.g: res = [red, orange, green]