Checks whether a state of S type was registered before. Returns false if this Bloc was disposed.
S
false
bool containsState<S>() => isDisposed ? false : _store.containsKey(S);