code: def get_learned_skills(self, lang):
          skills = [skill for skill in
                    self.user_data.language_data[lang]['skills']]
          self._compute_dependency_order(skills)
          return [skill for skill in
                  sorted(skills, key=lambda skill: skill['dependency_order'])
                  if skill['learned']]