code: def test_default_pretrains():
      """
      Test that all languages with a default treebank have a default pretrain or are specifically marked as not having a pretrain
      """
      for lang in default_packages.default_treebanks.keys():
          assert (
              lang in default_packages.no_pretrain_languages
              or lang in default_packages.default_pretrains
          ), ("Lang %s does not have a default pretrain marked!" % lang)
  
imports: import pytest
  import stanza
  from stanza.resources import default_packages
label_desc: Use image node_id 1 for calling a global function with example usage: test_default_pretrains() without return types