pub fn is_dispatch_pool_registered() -> bool
Return true if a DispatchPool is registered to the current thread.