def is_password_valid(self, password):

        try:
            return bcrypt.verify(password, self['password'])
        except:
            return False
Take an encrypted password, and verifies it. Returns bool.
dataset/ETHPy150Open heiskr/sagefy/server/models/user.py/User.is_password_valid