title: Check if clicked element doesn't have a specific class
body: <p>I'm trying to create an if statement that runs the code if the clicked li element doesn't have a class of photo.</p>
  
  <pre><code>$('div.menu li').click(function(){
      var content = $(this).attr('class');
      if (/* I can't figure out the correct syntax that goes here? */){
          $("div.content_wrapper, div.content").hide();
          $('div.content_wrapper').animate({width: 'toggle'});
          $('div.content_wrapper, div.' + content).show();
          $('div.menu li').removeClass('menuactive');
          $(this).addClass('menuactive');
      }
  });
  </code></pre>