GetDirtyFlag returns and optionally resets the "dirty flag" that indicates whether anything was changed on the stage (and needs to be re-rendered) or not. Note, 'doReset' parameter will take effect only after Capture is called (either manually or by Advance).