code: def verify(self, h, sig):
          
          val = from_bytes_32(h)
          pubkey = self.public_pair()
          return self._generator.verify(pubkey, val, sigdecode_der(sig))
docs: Return whether a signature is valid for hash h using this key.