Detect when DAW is loading factory preset

Does anyone have a way to detect in setStateInformation when the DAW is loading its factory preset?

I tried storing a flag in my APVTS, but Reaper always seemed one step ahead.