vsphere/internal/helper/viapi/vim_helper.go
func IsManagedObjectNotFoundError(err error) bool {
	if f, ok := vimSoapFault(err); ok {
		if _, ok := f.(types.ManagedObjectNotFound); ok {
			return true
		}
	}
	return false
}
func IsManagedObjectNotFoundError(err error) bool {
	if f, ok := vimSoapFault(err); ok {
		if _, ok := f.(types.ManagedObjectNotFound); ok {
			return true
		}
	}
	return false
}
// IsManagedObjectNotFoundError checks an error to see if it's of the
// ManagedObjectNotFound type.