code: func (p *PublicKey) IsEqual(otherPubKey *PublicKey) bool {
  	return p.X.Cmp(otherPubKey.X) == 0 &&
  		p.Y.Cmp(otherPubKey.Y) == 0
  }
docs: // IsEqual compares this PublicKey instance to the one passed, returning true if
  // both PublicKeys are equivalent. A PublicKey is equivalent to another, if they
  // both have the same X and Y coordinate.