title: Checking if variables are contained in array
body: <p>I have an array with a series of IDs. After I get another array I'd like to check if each single value of it is contained in the main ID array. And if there's even one new ID set a variable to TRUE (I'm in a repeat cycle: "repeat until controller is TRUE").</p>
  
  <p>How can I achieve that? I'm a newbie with Applescript and I don't know how to do these mass checking.</p>