One time security threw away a jar of peanut butter that I had in my carry on. Now I carry a note from my doctor that explains I have to have certain foods for medical reasons. I’ve never actually had to use it, go figure, but I always have it with me just in case.