def ContainsKey(self, public_key):
        """
        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.
        """
        return self.ContainsKeyHash(Crypto.ToScriptHash(public_key.encode_point(True), unhex=True))
def ContainsKey ( self , public_key ) : return self . ContainsKeyHash ( Crypto . ToScriptHash ( public_key . encode_point ( True ) , unhex = True ) )
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.