code: def test_has_string_escape_chars(s: Text, has_escaped_char: bool):
      assert (
          rasa.shared.nlu.training_data.util.has_string_escape_chars(s)
          == has_escaped_char
      )
  
imports: from typing import Text
  import pytest
  import numpy
  import scipy.sparse
  import rasa.shared.nlu.training_data.util
label_desc: Use image node_id 1 for calling a global function with example usage: test_has_string_escape_chars(s, has_escaped_char) without return types