code: def get_example(config, exam_lex):
      
      if config.BOOLEAN_STATES[config.config.get('Layout', 'examples')]:
          return Window(
              content=BufferControl(
                  buffer_name="examples",
                  lexer=exam_lex))
      return get_empty()
docs: example description window