code: def verify(password, encoded):
      
      algorithm, iterations, salt, h = split(encoded)
  
      to_verify = encode(password, algorithm, salt, int(iterations))
      return hmac.compare_digest(to_verify.encode(), encoded.encode())
docs: Verify a Password
      :param password:
      :param encoded:
      :return: True or False