check for italic?

/execute as @a[nbt={CustomName:"example"}] run say example This command needs to work for anvil named items, but I cant figure out where to put the "italic":true (if that is right)

Continue to help post