Hubert is correct. Notebook state is indeed cleared before a job run.