title: detecting year in list of strings
body: <p>I have list of strings like this:</p>
  
  <pre><code>words = ['hello', 'world', 'name', '1', '2018']
  </code></pre>
  
  <p>I looking for the fastest way (python 3.6) to detect year "word" in the list. For example, "2018" is year. "1" not. Let's define the acceptable year range to 2000-2020. </p>
  
  <h2>Possible solution</h2>
  
  <p>Check if the word is number (<code>'2018'.isdigit()</code>) and then convert it to int and check if valid range.</p>
  
  <p>What is the fastest way to do it in python? </p>