Or maybe the smartest people understand that it is as important that less smart/experienced people than them can work with the code.
That being said what I talk about lives on a gradient. The smarter you are the greater degree of tendency you have to write shitty code.
The cleaner your code the higher possible chance you are stupider. It’s not a definitive sign but there is a correlation.