code: def filter_by_ids(original_list, ids_to_filter):
      
      if not ids_to_filter:
          return original_list
  
      return [i for i in original_list if i['id'] in ids_to_filter]
docs: Filter a list of dicts by IDs using an id key on each dict.