code: func (e *endpointsInfo) Equal(other proxy.Endpoint) bool {
  	o, ok := other.(*endpointsInfo)
  	if !ok {
  		klog.Error("Failed to cast endpointsInfo")
  		return false
  	}
  	return e.Endpoint == o.Endpoint &&
  		e.IsLocal == o.IsLocal &&
  		e.protocol == o.protocol &&
  		e.chainName == o.chainName
  }
docs: // Equal overrides the Equal() function implemented by proxy.BaseEndpointInfo.