check for dwd_state value