Check if cookie exist in general, not a specific cookie
<p>How would I detect if the website has set a cookie in general without checking lots of individual cookies. </p>

<p>I looked at this similar question: <a href="http://stackoverflow.com/questions/2824021/check-if-cookie-exists-if-not-create-it">Check if cookie exists if not create it</a>. But the solutions provided there check if a specific cookie exist, not just cookies in general.</p>

<p>I have tried:</p>

<pre><code>if($.cookie) {  
 //code   
} 
</code></pre>
