Returns Some when a thread with the given id is present in the registry and None otherwise.
Some
None
the id of the thread to find