Verifies if the calling execution code is running in a thread or not.
IsInThread()
This function does not accept any arguments
Verifies if the calling execution code is running in a thread or not.
IsInThread()
This function does not accept any arguments