open state check