Instance.HasStarted property
Whether this instance has finished starting: true once every Starting callback has completed.
public static bool HasStarted { get; }
Remarks
It is false while the application starts and its template is prepared. Code that runs in both phases, such as a library's lazy initialization, can read it to tell whether the state it is about to create will be shared by every instance or belongs to this one.