Check if there's preserved state for a module
bool hasPreservedState(String moduleId) { return _preservedState.containsKey(moduleId); }