docs: def check_password(raw_password, enc_password):
      """
      Returns a boolean of whether the raw_password was correct. Handles
      encryption formats behind the scenes.
      """
      algo, salt, hsh = enc_password.split('$')
      return enc_password == encrypt_password(raw_password, algorithm=algo,
                                              salt=salt)