code: func (r *RoleV2) Equals(other Role) bool {
  	return r.V3().Equals(other)
  }
docs: // Equals test roles for equality. Roles are considered equal if all resources,
  // logins, namespaces, labels, and options match.