core: Check z_session_page timeouts in a much cheaper way.