make 'state' data type check the 'isState' flag
4.2.1