trigger: make trigger_match() bool and make return value less confusing