def check_password(self, password):
        return self.password == generate_password_hash(password)
Check for a valid password has taken.
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/auth/user/abstractions.py/User.check_password