445.18 was completely rewritten for 2017. I have not installed any generators under the 2017 code. I have not yet seen 2020 code.
Following is just my opinion. Yes, I have a lot of time with generators.
445.18.A and 445.18.B are intertwined. Should discuss together
445.18.A Disconnecting Means: My take is the CB/disconnect supplied with package unit generators meets the intent of 445.18.A. There is no requirement for the disconnect to be separate.
445.18.B Shutdown of Prime Mover: This one does require a separate shutdown (lockable? - maybe, probably) outside of the generator enclosure.
Considering normal installations 2017 code and earlier, generally not an issue.
Package generators with sheetmetal enclosures, controls mounted on the outside of the enclosures:
A START key or a maintained, lockable E-STOP is sufficient. No change
Generators with separate controls
Controls inside building with generator
A maintained lockable E-Stop located outside the generator building (enclosure) is required
This one is really the only one that would have anything different or extra from 2017 code (and prior) installations. The normal Maintained, lockable STOP associated with the controls would have to have an additional Maintained, lockable E-STOP
Controls in same building, but separate room
A maintained lockable E-Stop located in controls room is required. No Change.