Is there a Python builtin for determining if an iterable contained a certain sequence?
<p>For example, something like:</p>

<pre><code>&gt;&gt;&gt; [1, 2, 3].contains_sequence([1, 2])
True
&gt;&gt;&gt; [1, 2, 3].contains_sequence([4])
False
</code></pre>

<p>I know that the <code>in</code> operator can do this for strings:</p>

<pre><code>&gt;&gt;&gt; "12" in "123"
True
</code></pre>

<p>But I'm looking for something that operates on iterables.</p>
