title: How to compare @NO and @YES with elegance and without risk of false positives/negatives?
body: <p>I want to use bool literals like</p>
  
  <pre><code>if (condition == @NO) {
  
  }
  else if (condition == @YES) {
  
  {
  </code></pre>
  
  <p>When I try this, XCode wants me to use NSNumber methods to compare, like isEqualTo. Is there a simpler way to do this (without isEqualTo)? If I can't, should I use isEqualTo, isEqualToValue, or isEqualToNumber?</p>