def get_config(self, key, default=None):
        for conf in (self.config, self.app.config):
            if key in conf: return conf[key]
        return default
Lookup a config field and return its value, first checking the
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/Route.get_config