code: def test_has_mwt():
      """
      One dataset has no mwt, the other does
      """
      with tempfile.TemporaryDirectory(
          dir=TEST_WORKING_DIR
      ) as test_dir:
          txt_file, label_file = write_tokenizer_input(
              test_dir, NO_MWT_TEXT, NO_MWT_LABELS
          )
          data = DataLoader(
              args=FAKE_PROPERTIES,
              input_files={"txt": txt_file, "label": label_file},
          )
          assert not data.has_mwt()
  
          txt_file, label_file = write_tokenizer_input(
              test_dir, MWT_TEXT, MWT_LABELS
          )
          data = DataLoader(
              args=FAKE_PROPERTIES,
              input_files={"txt": txt_file, "label": label_file},
          )
          assert data.has_mwt()
  
file_path: stanza/stanza/tests/tokenization/test_tokenize_data.py
imports: import pytest
  import tempfile
  import numpy
  import stanza
  from stanza import Pipeline
  from stanza.tests import *
  from stanza.models.tokenization.data import DataLoader, NUMERIC_RE
label_desc: Use image node_id 2 for calling a global function with example usage: test_has_mwt() without return types