code: def setLanguages(self, languages):
          
          if isinstance(languages, six.string_types):
              languages = [languages]
          for lang in languages:
              assert len(lang) == 3, "Expected to get language in ISO3 code"
          self.topicPage["langs"] = languages
docs: restrict the results to the list of specified languages