code: def query_starts_with(query, prefixes):
      
      prefixes = [prefix.lower() for prefix in prefixes]
      formatted_sql = sqlparse.format(query.lower(), strip_comments=True)
      return bool(formatted_sql) and formatted_sql.split()[0] in prefixes
docs: Check if the query starts with any item from *prefixes*.