In this case, I'm checking
["serial","port"], but in general I'd like to always handle the empty case, if any, when using
global_get() to get OctoPrint settings.
What happens if I try to get an OctoPrint setting using correct path, but nothing is set yet? Is this even possible?
I've checked here but it's not documented (unless i've missed it):