removing useless stateIsIn() method
Fixed cachedDependents cache issue (reviewed Flavia's 39f30ded fix)

Since cache was shared between threads,
it was possible that one thread might erase the cache
before second thread attempted to use it.