<p>In Mootools, I'd just run <code>if ($('target')) { ... }</code>.  Does <code>if ($('#target')) { ... }</code> in jQuery work the same way?</p>

no, jquery always returns a jquery object regardless if a selector was matched or not.
You need to use .length
```
```
if ( $('#someDiv').length ){

}
```
```