check state sanity for prepared resource