code: def check_lemmas(train_file):
      """
      Check if a treebank has any lemmas in it
  
      For example, in Vietnamese-VTB, all the words and lemmas are exactly the same
      in Telugu-MTG, all the lemmas are blank
      """
      # could eliminate a few languages immediately based on UD 2.7
      # but what if a later dataset includes lemmas?
      # if short_language in ('vi', 'fro', 'th'):
      #    return False
      with open(train_file) as fin:
          for line in fin:
              line = line.strip()
              if not line or line.startswith("#"):
                  continue
              pieces = line.split("\t")
              word = pieces[1].lower().strip()
              lemma = pieces[2].lower().strip()
              if not lemma or lemma == "_" or lemma == "-":
                  continue
              if word == lemma:
                  continue
              return True
      return False
  
imports: import stanza.utils.datasets.common
  import stanza.utils.datasets.prepare_tokenizer_treebank
label_desc: Use image node_id 1 for calling a global function with example usage: check_lemmas(train_file) and returns: False, True