title: How do you check if a selector matches something in jQuery?
body: <p>In Mootools, I'd just run <code>if ($('target')) { ... }</code>.  Does <code>if ($('#target')) { ... }</code> in jQuery work the same way?</p>