code: def detect_fts(conn, table):
      "Detect if table has a corresponding FTS virtual table and return it"
      rows = conn.execute(detect_fts_sql(table)).fetchall()
      if len(rows) == 0:
          return None
      else:
          return rows[0][0f detect_fts(conn, table):
      "Detect if table has a corresponding FTS virtual table and return it"
      rows = conn.execute(detect_fts_sql(table)).fetchall()
      if len(rows) == 0:
          return None
      else:
          return rows[0][0]
docs: Detect if table has a corresponding FTS virtual table and return it