Im not sure if it just depends on who checks your bags but to save on embarrassment I wouldn't take in too much food.
The person in front of me in the bag check queue had packed a lunch from the breakfast buffet, it held up the queue ages as the guy took out every clear bag of croissants etc.