Evaluate in Jquery
<p>Just wondering if its possible to convert the following to an IF statement in Javascript:</p>

<pre><code>$('.Nav table tr:has(table.navheader) + tr:has(table.navitem)').addClass('linksbelow');
</code></pre>

<p>Example:</p>

<pre><code>IF $('.Nav table tr:has(table.navheader) + tr:has(table.navitem)').addClass('linksbelow'); = **TRUE** (
$('.Nav table .navheader').addClass('linksbelow');
)
**ELSE** (
$('.Nav table .navheader').addClass('Nolinksbelow');
</code></pre>
