title: str.startswith with a list of strings to test for
body: <p>I'm trying to avoid using so many if statements and comparisons and simply use a list, but not sure how to use it with <code>str.startswith</code>:</p>
  
  <pre><code>if link.lower().startswith("js/") or link.lower().startswith("catalog/") or link.lower().startswith("script/") or link.lower().startswith("scripts/") or link.lower().startswith("katalog/"):
      # then "do something"
  </code></pre>
  
  <p>What I would like it to be is:</p>
  
  <pre><code>if link.lower().startswith() in ["js","catalog","script","scripts","katalog"]:
      # then "do something"
  </code></pre>
  
  <p>Any help would be appreciated.</p>