Thread:Project:Support desk/Check if I'm logged in/reply

Does API:Assert help you?