spmviz.data.contains# spmviz.data.contains(sequence, pattern, constraints=None, times=None, **kw)[source]# Whether a sequence contains a pattern under the given constraints. Examples >>> contains(["a", ("b", "c"), "d"], "a (b c)") True >>> contains(["a", "b", "c"], "a c", max_gap=1) False