Eating is definitely optional if you have the body fat.
http://contests.npcnewsonline.com/contests/2018/npc_teen_col...
I also adhered to a strict no coffee/tea policy.
In my case I tend to feel less hungry after drinking lots of flavored water (e.g., lemon juice or flavored electrolyte powder [1]), but I haven't yet done long fasting. I want to try soon.
Also, have you noticed any cognitive decline when you were fasting for weeks? Difficulty concentrating, memory loss, lightheadedness, mood, ability to interact with people?
water, black coffee, and salt do not produce this reaction.
And no, no cognitive decline whatsoever. If anything I had more energy. Also, I was supplementing electrolytes, and I ended my fast at like 25% bodyfat though, so keep that in mind.