code: func (r *RoleConditions) Equals(o RoleConditions) bool {
  	if !utils.StringSlicesEqual(r.Logins, o.Logins) {
  		return false
  	}
  	if !utils.StringSlicesEqual(r.Namespaces, o.Namespaces) {
  		return false
  	}
  	if !r.NodeLabels.Equals(o.NodeLabels) {
  		return false
  	}
  	if len(r.Rules) != len(o.Rules) {
  		return false
  	}
  	for i := range r.Rules {
  		if !r.Rules[i].Equals(o.Rules[i]) {
  			return false
  		}
  	}
  	return true
  }
docs: // Equals returns true if the role conditions (logins, namespaces, labels,
  // and rules) are equal and false if they are not.