check if the session has been started