isPreviousState