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