title: Check if all returned arrays contains the values false
body: <pre><code>console.log(allStatuses);
  </code></pre>
  
  <p>This variable returns two arrays:</p>
  
  <pre><code>[true, false, false, false, false]
  
  [true, false, false, true, false]
  </code></pre>
  
  <p>Sometimes more arrays will be returned with <code>true/false</code> values.</p>
  
  <p>I would like to check if all the returned arrays contain <code>false</code> and if so, do something.</p>
  
  <p>What would be the best way to get this done?</p>
  
  <p>Here is the code responsible:</p>
  
  <pre><code>angular.forEach($scope.prefAccount, function(account){
       if (typeof account === 'object') {
            var allStatuses = [];  
            angular.forEach(account, function(alertStatus){
                 return allStatuses.push(alertStatus.enabled);
            })
            console.log(allStatuses);
       }                    
  });
  </code></pre>