Everyone seems to completely missing the point of the display cutout toggles in developer options. It's there so developers can see how the app looks on different displays - the same way you can use developer options to mock a GPS location or enable touch points. It's a default setting for Pie as far as I know, and not pixel specific!