Actually, Oreo contains this option as well. Any version of Android after 6.0 ("Marshmallow") has the option added. That said, many manufacturers remove or restrict this option. So making the change would have no effect on your device. If the manufacturer restricted this option, it would be restricted no matter the version you were using.