worker: add hasRef()
to the handle object
#42756
Merged
hasRef()
to the handle object
#42756