it's not for validation check, it's for handle ownership. Some API will control the handle by itself, so the PkgMgrHandle can not destroy that handle in destructor.