title: Hide/show element with a boolean
body: <p>I tend to have a lot of these in my code</p>
  
  <pre><code>if(shouldElementBeVisible)
      $element.show()
  else
      $element.hide()
  </code></pre>
  
  <p>Is there any more elegant way packaged with javascript, jquery, or underscore? Ideally I want something that looks like this</p>
  
  <pre><code>$element.showOrHideDependingOn(shouldElementBeVisible)
  </code></pre>