I would like to run a function when the dragon egg is thrown in the void

this is what I have so far: /execute if entity @e[type=item,nbt={Item:{id:"minecraft:dragon_egg",count:1}}] but I have no idea how to test if it's destroyed 🤷‍♀️
Continue to help post