Yes, the ROM (the system) tells application code whether the device has a hardware menu button....
The three dots show if it doesn't (as reported).
In any case, the top menu / icon / action bar is a system one.
There might some build prop that affects it (but I don't really know anything about ROM / firmware internals... just guessing...)