code: def need_completion_refresh(queries):
      
      tokens = {
          'use', '\\u',
          'create',
          'drop'
      }
  
      for query in sqlparse.split(queries):
          try:
              first_token = query.split()[0]
              if first_token.lower() in tokens:
                  return True
          except Exception:
              return False
docs: Determines if the completion needs a refresh by checking if the sql
      statement is an alter, create, drop or change db.