is_main_thread

@returns(gboolean)
def is_main_thread()

Checks if currently executing on the main thread.

Returns :

True if on the main thread