Show a favorite icon on product items that are present in the favorites table.
Implement show_favorite_icons(products, favorite_ids). products is a list of dictionaries containing a unique id; favorite_ids is a list of product IDs from the favorites table. Return a new list in the original order, adding show_favorite_icon: true when a product ID is favorited and false otherwise. Do not mutate the input product dictionaries.
Each returned product must preserve all original fields and include the boolean show_favorite_icon field.
def show_favorite_icons(products, favorite_ids):