Minecraft: Check if a certain item is in the dropper?

la
3

How can I check whether a certain item with NBT is in a dropper. Slot doesn't matter. I'm playing in version 1.15.2

Po

/ execute if data block X Y Z {Items: [{id: "minecraft: item"}]}

la

And how would it work that the item has a certain name?

Po

/ execute if data block X Y Z {Items: [{id: "minecraft: item", tag: {display: {Name: "{\" text \ ": \" Itemname \ "}"}}}]}] run say

Gaming PC config? cu cutenimble
What is this message? St StephanieItchy