input: Write a function to create an instance of the "sru" class and call its "search" method with a query string, optionally providing a collection name, start record number, maximum number of records to return, and record schema. The method should return a "response" object containing the search results. Assert that the function returns a "response" object for valid queries and False for empty or invalid queries.
  
  
  def search_sru(query, collection=None, startrecord=1, maximumrecords=1, recordschema=None):
      sru_instance = sru()
      if collection is None:
          result = sru_instance.search(query, startrecord=startrecord, maximumrecords=maximumrecords)
      else:
          result = sru_instance.search(query, collection=collection, startrecord=startrecord, maximumrecords=maximumrecords, recordschema=recordschema)
      assert isinstance(result, response) or result == False
      return result
  
  assert isinstance(search_sru("test"), response)
  assert isinstance(search_sru("test", collection="ANP"), response)
  assert search_sru("", collection="ANP") == False
  assert search_sru("test", collection="INVALID") == False
  
output: 
  def search_sru(query, collection=None, startrecord=1, maximumrecords=1, recordschema=None):
      if not query:
          return False
      sru_instance = sru()
      try:
          if collection is None:
              result = sru_instance.search(query, startrecord=startrecord, maximumrecords=maximumrecords)
          else:
              result = sru_instance.search(query, collection=collection, startrecord=startrecord, maximumrecords=maximumrecords, recordschema=recordschema)
          return result
      except:
          return False
  