title: Set simple boolean in twig
body: <p>lets say i have some data like this :</p>
  
  <pre><code>answers: [
  {
    answerText: "please",
    small: false
  },
  {
    answerText: "help",
    small: true
  },
  {
    answerText: "me",
    small: false
  }
  ],
  </code></pre>
  
  <p>and i want to set a boolean that´s true if there is an answer where small is true.
  and i need to use it outside the loop i´m iterating over answers.</p>
  
  <p>im trying arround and just dont get it, i think my nearest attempt is sth. like this</p>
  
  <pre><code>{% set zyx =  if 'small' in question['answers'] %}
  
  {% set zyx =  'small' in question['answers'] %}
  
  {% set zyx = 'small:true' in question['answers'] %}
  
  {% set zyx = true in question['answers'] %}
  </code></pre>
  
  <p>but they all dont work as i expect</p>
  
  <p>for any help thanks in advance</p>