TSA officers may instruct travelers to separate items from carry-on bags such as foods, powders, and any materials that can clutter bags and obstruct clear images on the X-ray machine. Travelers are encouraged to organize their carry-on bags and keep them uncluttered to ease the screening process and keep the lines moving.
Pies and Cakes
Carry On Bags: 
          Yes
        
  Checked Bags: 
          Yes
        
   The final decision rests with the TSA officer on whether an item is allowed through the checkpoint.