This would be more idiomatic as `matcher_allowed?`.

Also, seems simpler to just have a set of allowed matcher classes and then do `allowed_matcher_classes.include?(matcher.class)`.