title: Check if all boolean values in an array is true?
body: <p>Let's say I have this boolean array: </p>
  
  <pre><code>bool something[4] = {false, false, false, false};
  </code></pre>
  
  <p>Now, is there any simple way to check if all the values in this array is true/false at once? </p>
  
  <p>Instead of doing it like this:</p>
  
  <pre><code>if(something[0] == false &amp;&amp; something[1] == false..)
  dothis();
  </code></pre>