code: def check_embedding(emb, unk=False):
      expected = np.array(
          [
              [
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              [
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              [
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              [
                  0.0,
                  0.0,
                  0.0,
                  0.0,
              ],
              [
                  1.0,
                  2.0,
                  3.0,
                  4.0,
              ],
              [
                  5.0,
                  6.0,
                  7.0,
                  8.0,
              ],
              [
                  9.0,
                  10.0,
                  11.0,
                  12.0,
              ],
          ]
      )
      if unk:
          expected[UNK_ID] = -1
      np.testing.assert_allclose(emb, expected)
  
imports: import os
  import tempfile
  import pytest
  import numpy
  import torch
  from stanza.models.common import pretrain
  from stanza.models.common.vocab import UNK_ID
  from stanza.tests import *
label_desc: Use image node_id 2 for calling a global function with example usage: check_embedding(emb, unk) without return types