<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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))