

def is_installed(self):
    'Checks whether django-watson is installed.'
    cursor = connection.cursor()
    cursor.execute("SHOW INDEX FROM watson_searchentry WHERE Key_name = 'watson_searchentry_fulltext'")
    return bool(cursor.fetchall())

dataset/ETHPy150Open etianen/django-watson/src/watson/backends.py MySQLSearchBackend.is_installed/original