I've been to and grown up in a bunch of those African cities. As long as you don't go to dodgy areas you're perfectly fine, even dirt-poor areas are fine. Sure your houses are little mini fortifications and security is everywhere in "rich" neighborhoods. .. but it's a nothing burger for the most part.