code: def get_charlm_package(lang, package, model_charlms, default_charlms):
      package, _, uses_charlm = split_package(package)
  
      if not uses_charlm:
          return None
  
      if (
          model_charlms is not None
          and lang in model_charlms
          and package in model_charlms[lang]
      ):
          return model_charlms[lang][package]
      else:
          return default_charlms.get(lang, None)
  
imports: import argparse
  from collections import defaultdict
  import json
  import os
  from pathlib import Path
  import hashlib
  import shutil
  import zipfile
  from stanza import __resources_version__
  from stanza.models.common.constant import lcode2lang, two_to_three_letters, three_to_two_letters
  from stanza.resources.default_packages import PACKAGES, TRANSFORMERS, TRANSFORMER_NICKNAMES
  from stanza.resources.default_packages import *
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 8 for calling a global function with example usage: get_charlm_package(lang, package, model_charlms, default_charlms) and returns: None, model_charlms, default_charlms