title: How to check if a PHP session is set using jquery?
body: <p>I have a php application that is working alongside jquery. 
  I want to check if the user session is still available in the js function.</p>
  
  <p>If a session is set or if not return false.</p>