code: def check_labels(labels, expected_labels):
      assert len(labels) == len(expected_labels)
      for label, expected in zip(labels, expected_labels):
          assert np.array_equiv(label, expected)
  
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 6 for calling a global function with example usage: check_labels(labels, expected_labels) without return types