code: func HasAnySuffix(a string, slice []string) bool {
  	for _, b := range slice {
  		if strings.HasSuffix(a, b) {
  			return true
  		}
  	}
  	return false
  }
docs: // HasAnySuffix determines if the string a has any suffixes contained in the
  // slice b.