block tags but for items (1.20.1)

so i can easily do execute if block ~ ~ ~ #minecraft:all_signs if i want to check if a block is within a certain tag. is this possible for items in hand?

Continue to help post