title: Cannot convert value of type to expected argument type 'Bool'
body: <p>I am facing issue in Swift after converting from Objective-C. Can anyone help me to fix this issue?</p>
  
  <pre><code>let brand: GymBrand =  GymBrand.brandForName(name:self.gym.brand)
  if brand &amp;&amp; brand.logoImageName {
  
  } else {
  
  }
  </code></pre>
  
  <p>My Objective-C code:</p>
  
  <pre><code>GYMBrand *brand = [GYMBrand brandForName:self.gym.brand];
  if (brand &amp;&amp; brand.logoImageName) {  
  
  }else {
  
  }
  </code></pre>
  
  <p>Error screen:</p>
  
  <p><a href="https://i.stack.imgur.com/KjLDC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KjLDC.png" alt="enter image description here"></a></p>