Is western Sahara a part of Africa?

Western Sahara is a territory actually administered by the kingdom of Morocco. So it's somehow part of Africa.