title: Check for presence of a sliced list in Python
body: <p>I want to write a function that determines if a sublist exists in a larger list. </p>
  
  <pre><code>list1 = [1,0,1,1,1,0,0]
  list2 = [1,0,1,0,1,0,1]
  
  #Should return true
  sublistExists(list1, [1,1,1])
  
  #Should return false
  sublistExists(list2, [1,1,1])
  </code></pre>
  
  <p>Is there a Python function that can do this?</p>