Text this: Flat band ferromagnetism in Pb $$_2$$ 2 Sb $$_2$$ 2 O $$_7$$ 7 via a self-doped mechanism