Purpose
Checks for the existence of a session
Location
users/classes/Session.php
Parameters
This function does not take any arguments
Example
Session::exits('sessionName);
Further Documentation:
Checks if a session exists when provided the session name. Session name can be found in init.php.
if(Session::exists('user')){
echo "true";
}