Checking forexistence of initialstate