Check to make sure we have a session registered
Split into multiple lines