Returns true, if at least one consecutively following pair (including the enclosing pair) matches the predicate.