public static bool RunningOnAppThread ();

설명

Returns true if you're running on application thread.

More information on UI and application threads can be found here.