code: def ContainsKey(self, public_key):
          
          return self.ContainsKeyHash(Crypto.ToScriptHash(public_key.encode_point(True), unhex=True))
docs: Test if the wallet contains the supplied public key.
  
          Args:
              public_key (edcsa.Curve.point): a public key to test for its existance. e.g. KeyPair.PublicKey
  
          Returns:
              bool: True if exists, False otherwise.