title: How to check if a boolean value is true from a list of values
body: <p>I have a list of boolean values, what is the most efficient way to check if one of the boolean is true and all others are false?</p>
  
  <p>For example, I have a array of 100 boolean values, how can I check if 1 boolean is true and all other booleans are false. </p>