Yes, solid food is allowed through TSA security in any amount. If the item is considered a liquid, paste, cream, gel, or aerosol, it is still allowed, but must be smaller than 3.4 ounces. Otherwise, you'll be required to check the item or throw it out.