My nani’s family is ismaeli. We avoid to eat their food
But sometimes we failed and they forced us to eat what my anty cooked

She believes on Allah swt and Rassoul e Khuda and Imam Ali (as).
Sometimes she do namaz and fast. Is it okay to eat her food when we have no choice? She is considered as muslim right?

They are considered Muslims except in the case if they show openly their enmity for any one of the 14 infallibles so you can eat at their home freely until they are proved Nasibi (the open enemy of Ahlul-bayt a.s.)