Does Somalia have a government?

Somalia does in fact have a government other than the extremist group call Al-Shabaab, but it only spans about three blocks in Mogadishu, the capital of Somalia. The rest is taken over by extremist groups all vying for power.