def check_answers(self, text):
with self.connection:
data = self.cursor.execute('SELECT * FROM answers WHERE answers = ?', (str(text),)).fetchall()
print(data)
if data:
return True
else:
return False