def verify_private_key(private_key, public_key, passphrase=None):
 return bool((get_public_key(private_key, passphrase) == get_public_key(public_key)))

def verify_private_key ( private_key , public_key , passphrase = None ) : return bool ( ( get_public_key ( private_key , passphrase ) == get_public_key ( public_key ) ) )
verify that private_key matches public_key private_key: the private key to verify .