vsphere/internal/helper/viapi/vim_helper.go
func isNotFoundError(err error) bool {
	if f, ok := vimSoapFault(err); ok {
		if _, ok := f.(types.NotFound); ok {
			return true
		}
	}
	return false
}
func isNotFoundError(err error) bool {
	if f, ok := vimSoapFault(err); ok {
		if _, ok := f.(types.NotFound); ok {
			return true
		}
	}
	return false
}
// isNotFoundError checks an error to see if it's of the NotFoundError type.
//
// Note this is different from the other "not found" faults and is an error
// type in its own right. Use IsAnyNotFoundError to check for any "not found"
// type.