def get_config(self, key, default=None):
        for conf in (self.config, self.app.config):
            if key in conf: return conf[key]
        return default
check if rendering is allowed, checks for:
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/Route.get_config--crossover with--dataset/ETHPy150Open bepasty/bepasty-server/bepasty/views/display.py/rendering_allowed