Unless you have an experienced Herp Vet, a veterinarian is the last place you'll get a professional opinion on a ball python hunger strike.
Keep the husbandry optimal and keep offering. She will start to eat again when she's ready.
I know 4 months feels like a lifetime, but we have several members here who have been through fasts that lasted over a year.