title: Using "isEqual" to compare a boolean type
body: <p>How can I compare a boolean return soap with boolean value, like "false". I have tried these:</p>
  
  <pre><code>if ([id isEqual:false]){
          [self ShowMsg];
      }
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>if ([id isEqualToValue:false]) {
          [self ShowMsg];
      }
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>if (id == false){  
          [self ShowMsg];
      }
  </code></pre>
  
  <p>The "id" information comes from a Soap request, example:</p>
  
  <pre><code>SoapRequest* _request = [SoapRequest create: _target action: _action service: self soapAction: @"http://tempuri.org/MyClass" postData: _envelope deserializeTo: @"Boolean"];
  </code></pre>
  
  <p>However, when I make these comparation they don't work anyway.</p>
  
  <p>Thanks.</p>