def check_password(raw_password, enc_password):
    algo, salt, hsh = enc_password.split('$')
    return enc_password == encrypt_password(raw_password, algorithm=algo,
                                            salt=salt)
Returns a boolean of whether the raw_password was correct. Handles
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/auth.py/check_password