public static bool IsFinished(this ThreadState thisValue) { return(thisValue.FastHasFlag(ThreadState.Stopped) || thisValue.FastHasFlag(ThreadState.Aborted)); }