code: def get_known_words(self, lang):
          
          words = []
          for topic in self.user_data.language_data[lang]['skills']:
              if topic['learned']:
                  words += topic['words']
          return set(words)
docs: Get a list of all words learned by user in a language.