Is Western Sahara occupied by Morocco?

Yes. Western Sahara was annexed by Morocco in contravention to UN law in the 1975 Green March. Although the Polisario Front (the Sahroui rebels) control some of the country, the Moroccan government controls over 80% of the territory and over 95% of the population, including all major cities.