You know you are addicted to a food if despite knowing it is bad for you and despite wanting to change, you still keep eating it. Addiction means that a craving has more control over your behavior than you do.
Kathy Freston (2011). “Veganist: Lose Weight, Get Healthy, Change the World (Large Print 16pt)”, p.242, ReadHowYouWant.com