check for specific #item tag

I'm trying to make a datapack that allows users to cook items with specific nbt the thing is that I don't want to check for every possible fuel item in the game for obvious reasons so how can I check if a slot of a block/an entity has a specific #item ? for example, how can I do this: execute if data block ~ ~ ~ Items[{Slot:1b,id:"#minecraft:wool"}] ...
Continue to help post