code: func (p *PushCenter) HasHandlerForIdentity(identity Identity) bool {
  
  	if identity.Name == AllIdentity.Name {
  		return p.defaultHander != nil
  	}
  	_, exists := p.handlers[identity.Name]
  	return exists
  }
docs: // HasHandlerForIdentity verifies if the given identity has a registered handler.