docs: def search(self, query, results=10, suggestion=False):
          """ Search for similar titles
  
              Args:
                  query (str): Page title
                  results (int): Number of pages to return
                  suggestion (bool): Use suggestion
              Returns:
                  tuple or list: tuple (list results, suggestion) if \
                                 suggestion is **True**; list of results \
                                 otherwise """
  
          self._check_query(query, "Query must be specified")
  
          search_params = {
              "list": "search",
              "srprop": "",
              "srlimit": results,
              "srsearch": query,
          }
          if suggestion:
              search_params["srinfo"] = "suggestion"
  
          raw_results = self.wiki_request(search_params)
  
          self._check_error_response(raw_results, query)
  
          search_results = [d["title"] for d in raw_results["query"]["search"]]
  
          if suggestion:
              sug = None
              if raw_results["query"].get("searchinfo"):
                  sug = raw_results["query"]["searchinfo"]["suggestion"]
              return search_results, sug
          return search_results