Return whether the process is running in the main thread.
True if this process is running in the main thread, and False if it is running in a child process.
True
False
in_main_thread()