input: def test_sru_search(query: str, collection: str, startrecord: int, maximumrecords: int, recordschema: str) -> bool:
      """
      Test the `search` method of the `sru` class by providing a query string and optional parameters.
      The method should return a `response` object containing the search results, or False if no records are found.
      >>> test_sru_search('test query', 'ANP', 1, 10, 'dcx')
      True
      >>> test_sru_search('invalid query', 'UNKNOWN_COLLECTION', 1, 10, 'dcx')
      False
      """
output:     from sru import search
      try:
          response = search(query, collection, startrecord, maximumrecords, recordschema)
          return bool(response.records)
      except Exception:
          return False