code: func (r AbsResource) TargetContains(other Targetable) bool {
  	switch to := other.(type) {
  
  	case AbsResource:
  		// We'll use our stringification as a cheat-ish way to test for equality.
  		return to.String() == r.String()
  
  	case AbsResourceInstance:
  		return r.TargetContains(to.ContainingResource())
  
  	default:
  		return false
  
  	}
  }
docs: // TargetContains implements Targetable by returning true if the given other
  // address is either equal to the receiver or is an instance of the
  // receiver.