status and isSuspended functions are implemented in ThreadReference
module.