Allow checking only one or the other for a matcher.