package workintake // RequiresLabel reports whether the dispatch trigger matches on a label and // therefore needs a non-empty label to be meaningful. func RequiresLabel(trigger string) bool { return trigger == "label" || trigger == "either" }