[eluser]TheFuzzy0ne[/eluser]
Assuming your referring to native PHP sessions, when the user logs you'll normally set some kind of variable to indicate that a user has logged in:
Code:
$_SESSION['logged_in'] = TRUE;
All you need to do is check that isset($_SESSION['logged_in']), and the job's a good'en.