code: func (c *ResourceConfig) IsSet(k string) bool {
  	if c == nil {
  		return false
  	}
  
  	if c.IsComputed(k) {
  		return true
  	}
  
  	if _, ok := c.Get(k); ok {
  		return true
  	}
  
  	return false
  }
docs: // IsSet checks if the key in the configuration is set. A key is set if
  // it has a value or the value is being computed (is unknown currently).
  //
  // This function should be used rather than checking the keys of the
  // raw configuration itself, since a key may be omitted from the raw
  // configuration if it is being computed.