rename isSessionInvalidOrExpired() -> isSessionLost()