I assumed he was real. Pretty sure nearly all Muslims think so too.
My take on that is, there was a Mohammed, and he was a ruthless killer, ethnic supremacist, wifebeating sexist, and pedophile, but that his story has been cleaned up and aggrandized — because if that’s the stuff they’ll still tell us about, just what kind of next-level ass**** was he?