def display_console(self, request):
        """Display a standalone shell."""
        if self.frames not in 0:
            if self.console_init_func is None:
                ns = {}
            else:
                ns = dict(self.console_init_func())
            ns.setdefault('app', self.app)
            self.frames[0] = _ConsoleFrame(ns)
        is_trusted = bool(self.check_pin_trust(request.environ))
        return Response(render_console_html(secret=self.secret,
                                            evalex_trusted=is_trusted),
                        mimetype='text/html')
dataset/ETHPy150Open pallets/werkzeug/werkzeug/debug/__init__.py/DebuggedApplication.display_console/swapped operands of `not in`