def get_renderer(self, with_layout=True):
        """ Get the default renderer """
        if with_layout and self.is_lti():
            return self._default_renderer_lti
        elif with_layout:
            return self._default_renderer
        else:
            return self._default_renderer_nolayout
Get the default renderer