code: def course_menu(course, template_helper):
      
      scoreboards = course.get_descriptor().get('scoreboard', [])
  
      if scoreboards != []:
          return str(template_helper.get_custom_renderer('frontend/plugins/scoreboard', layout=False).course_menu(course))
      else:
          return None
docs: Displays the link to the scoreboards on the course page, if the plugin is activated for this course