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?
My assumption would be that it returns a NoneType or raises an error. Typically when the docs don't give you the answer I go to the source...this is what global_get forwards your request to.