It's worse than that. They're narcissistic and think they have the answer to every problem. I worked for a boss like this who had Aspergers syndrome (undiagnosed, but clear case)
He literally had bumper stickers made up with "[his name] is the answer" - he wasn't joking. If there ever was a problem he would immediately solve the problem in his mind, and that was the way we MUST do it. He would not accept rationalization as to why that might be a bad idea. I learned real fast not to tell him we had a problem.... until I already had a proposal, who was involved, and costs involved to fix the problem before he had a chance to solve the problem himself.
I worked with him for 13 years, I wasn't the only one who saw the classic traits
The list goes on and on. But needless to say he refused to accept he might have been on the spectrum or get tested despite suggestions by fellow staff members who also dealt with his irrational outbursts on a daily basis