It's dumb in this case because the "booby trap" likely isn't one at all, but at a very cursory glance I could buy that someone would make their lunch exceptionally spicy to thwart a would-be thief - in the same vein that people might suggest laxatives, etc.
Anyway, I'm surprised people don't just have locked lunchboxes or something like that.