Separate non shippable items from shipment notifications

Hi Brains Trust.

We have some non shippable items such as gift cards and donations and I want to update the shipment notification to account for these types of items with different wording.

What would I need to put into the IF statement to pick up these types of items please?

Also, where in the stack of IF statements do I need to put it?

Many thanks in advance.