hasBlockMatch
hasBlockMatch(config: List<ConfigLine>, pattern: PatternBlocks<T>) : Bool
If blockMatches returns a nonempty collection on the same input, then this function returns true.
Otherwise, this function returns false.
Deprecated Bag overload
As a transitionary measure for backwards compatibility, hasBlockMatch also accepts a Bag<ConfigLine> as its first
argument. Use orderBy() or order() to create an argument with type List<ConfigLine>. Eventually, the Bag overload
will be removed and a type-checking error will be emitted instead.