title: With python, how do I find out if a string contains anything characters besides characters in another list
body: <p>I have a list of characters:</p>
  <pre><code>example_list = ['a','b','c','1','2','3']
  </code></pre>
  <p>And I am running through a column in a pandas data frame iteratively and evaluating if something is &quot;off&quot;. Lets call the column/list I am running through value. An example of the values I am looking through:</p>
  <pre><code>value1 = ['a12']
  value2 = ['d88']
  value3 = ['b33']
  </code></pre>
  <p>Values 1 and 3 would be correct, because they are only composed of elements from example_list. What I would like is for value2 to be flagged as False and values like 1 and 3 to be flagged as True.</p>
  <p>What I have tried:</p>
  <pre><code>not any(x in example_list for x in value)
  </code></pre>
  <p>Which always seems to return True. Using an all() methodology will see if everything is in there and any() will find if any of them are in there, yes? I am looking for an &quot;anything besides x&quot; method. I am new to python, so I figure its a case of &quot;I don't know, what I don't know&quot;, does anyone have any advice? Thanks!</p>