add isInState for test 310