code: func (a *AttributeDefinition) IsInterface(attName string) bool {
  	if !a.Type.IsObject() {
  		panic("checking pointer field on non-object") // bug
  	}
  	att := a.Type.ToObject()[attName]
  	if att == nil {
  		return false
  	}
  	return att.Type.Kind() == AnyKind
  }
docs: // IsInterface returns true if the field generated for the given attribute has
  // an interface type that should not be referenced as a "*interface{}" pointer.
  // The target attribute must be an object.