code: def _check_type(s):
      # warn here since each function will call this
      warnings.warn(
          "The jellyfish._jellyfish module is deprecated and will be removed in jellyfish 1.0.",
          DeprecationWarning,
      )
      if not isinstance(s, str):
          raise TypeError(
              "expected str or unicode, got %s" % type(s).__name__
          )
  
file_path: jellyfish/python/jellyfish/_jellyfish.py
imports: import unicodedata
  from collections import defaultdict
  from itertools import zip_longest
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: _check_type(s) without return types