code: def test_has_space_after_no():
      assert prepare_tokenizer_treebank.has_space_after_no(
          "SpaceAfter=No"
      )
      assert prepare_tokenizer_treebank.has_space_after_no(
          "UnbanMoxOpal=Yes|SpaceAfter=No"
      )
      assert prepare_tokenizer_treebank.has_space_after_no(
          "SpaceAfter=No|UnbanMoxOpal=Yes"
      )
      assert not prepare_tokenizer_treebank.has_space_after_no(
          "SpaceAfter=Yes"
      )
      assert not prepare_tokenizer_treebank.has_space_after_no(
          "CorrectSpaceAfter=No"
      )
      assert not prepare_tokenizer_treebank.has_space_after_no("_")
  
file_path: stanza/stanza/tests/tokenization/test_prepare_tokenizer_treebank.py
imports: import pytest
  import stanza
  from stanza.tests import *
  from stanza.utils.datasets import prepare_tokenizer_treebank
label_desc: Use image node_id 1 for calling a global function with example usage: test_has_space_after_no() without return types