checkPauseState