code: def _check_latest_data(lang):
      """Check for presence of proper names dir, clone if not."""
  
      assert (
          lang in NER_DICT.keys()
      ), "Invalid language. Choose from: {}".format(
          ", ".join(NER_DICT.keys())
      )
  
      ner_file_path = os.path.expanduser(NER_DICT[lang])
  
      if not os.path.isfile(ner_file_path):
          corpus_importer = FetchCorpus(lang)
          corpus_importer.import_corpus("{}_models_cltk".format(lang))
  
file_path: cltk/src/cltk/tag/ner.py
imports: import importlib.machinery
  import os
  from nltk.tokenize.punkt import PunktLanguageVars
  from cltk.data.fetch import FetchCorpus
  from cltk.tokenizers.word import PunktWordTokenizer
  from cltk.utils import CLTK_DATA_DIR
label_desc: Use image node_id 1 for calling a global function with example usage: _check_latest_data(lang) without return types