True if THREAD, defaulting to current thread, is the main thread of the process.
(&optional sb-thread:thread)