public static bool CheckInvoke(this SynchronizationContext checkContext) => checkContext.AreEqual(SynchronizationContext.Current);