title: Check nested list value combinations that match on another list
body: <p>I have a list that represents a <strong>tic tac toe board</strong>.</p>
  
  <pre><code>board = [1,2,3,4,5,6,7,8,9]
  </code></pre>
  
  <p>I have a list of win combinations that are on a nested list.</p>
  
  <pre><code>wins = [[7,8,9],[4,5,6],[1,2,3],[7,4,1],[8,5,2],[9,6,3],[1,5,9],[3,5,7]]
  </code></pre>
  
  <p>I have a function that iterates the <code>wins</code> list. If a combination from the <code>wins</code> list exists on the <code>board</code> list, the function should return true.</p>
  
  <p>Example:</p>
  
  <pre><code>board = [4,5,6,9]
  
  def win(board):
      wins = [[7,8,9],[4,5,6],[1,2,3],[7,4,1],[8,5,2],[9,6,3],[1,5,9],[3,5,7]] 
      for w in wins:
          if w in board:
              return True
          return False
  </code></pre>
  
  <p>This should (i think) return True, cause 3 digits from the win list are on the board list but by some reason it keeps returning false.</p>
  
  <p>Am I missing something on my code?</p>
  
  <p>Thanks</p>