code: func (i *ResourceInstance) HasDeposed(key DeposedKey) bool {
  	return i != nil && i.Deposed[key] != nil
  }
docs: // HasDeposed returns true if this resource instance has a deposed object
  // with the given key.