code: def _language_in_list(language, targets, min_score=80):
      
      matched = best_match(language, targets, min_score=min_score)
      return matched[1] > 0
docs: A helper function to determine whether this language matches one of the
      target languages, with a match score above a certain threshold.
  
      The languages can be given as strings (language tags) or as Language
      objects. `targets` can be any iterable of such languages.