code: func (a *AttributeDefinition) HasDefaultValue(attName string) bool {
  	if a.Type.IsObject() {
  		att := a.Type.ToObject()[attName]
  		return att.DefaultValue != nil
  	}
  	return false
  }
docs: // HasDefaultValue returns true if the given attribute has a default value.