From Creation Kit
Member of: Quest Script
Checks to see if this quest is in the process of shutting down.
bool Function IsStopping() native
Whether this quest is no longer enabled but still trying to shut down.
; Is the main quest currently shutting down? if (MainQuestProperty.IsStopping()) Debug.Trace("The main quest is still shutting down") endIf