code: def _filter_list(input_list, search_key, search_value):
  
      '''
      Filters a list of dictionary by a set of key-value pair.
  
      :param input_list:   is a list of dictionaries
      :param search_key:   is the key we are looking for
      :param search_value: is the value we are looking for the key specified in search_key
      :return:             filered list of dictionaries
      '''
  
      output_list = list()
  
      for dictionary in input_list:
          if dictionary.get(search_key) == search_value:
              output_list.append(dictionary)
  
      return output_lisf _filter_list(input_list, search_key, search_value):
  
      '''
      Filters a list of dictionary by a set of key-value pair.
  
      :param input_list:   is a list of dictionaries
      :param search_key:   is the key we are looking for
      :param search_value: is the value we are looking for the key specified in search_key
      :return:             filered list of dictionaries
      '''
  
      output_list = list()
  
      for dictionary in input_list:
          if dictionary.get(search_key) == search_value:
              output_list.append(dictionary)
  
      return output_list
docs: Filters a list of dictionary by a set of key-value pair.
  
      :param input_list:   is a list of dictionaries
      :param search_key:   is the key we are looking for
      :param search_value: is the value we are looking for the key specified in search_key
      :return:             filered list of dictionaries