Help with tags

im trying to make it so only a give item by a command can summon lightning and im checking that with tags but its not working
Continue to help post