title: how to check if a cookie is set in laravel?
body: <p>I have made a cookie with my controller and this seems to work because if I check my resources in my developer tools it is there. But now I want to do actions with it in my view , but this doesn't seem to work , this is the code I used in my view: </p>
  
  <pre><code>@if (Cookie::get('cookiename') !== false)
      &lt;p&gt;cookie is set&lt;/p&gt;
  @else
      &lt;p&gt;cookie isn't set&lt;/p&gt;
  @endif
  </code></pre>
  
  <p>this is always returning 'true' </p>
  
  <p>Can anyone help me ?</p>