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