Actually, in most cases the mere existence of a session means you're logged in - depending on what you define as "logged in". However, to accurately test for a session, you should make sure that you call the get session method with the right option. Otherwise get session will create a session if one didn't already exist, so it would always say you were logged in, even if you hadn't authenticated or set up whatever session parameters your login process might initialize.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
Are you okay? You look a little big. Maybe this tiny ad will help: