rex::isSafeMode(): check session status