def check_password(self, value): """Check password.""" return hashing.check_value(self.password, value)