code: func hasObjectMeta(t *types.Type) bool {
  	for _, m := range t.Members {
  		if m.Embedded == true && m.Name == "ObjectMeta" {
  			return true
  		}
  	}
  	return false
  }
docs: // hasObjectMeta returns true if the type has a ObjectMeta field.