code: def check_printable(self, data):
      match = self.NON_PRINTABLE.search(data)
      if match:
          character = match.group()
          position = (
              self.index
              + (len(self.buffer) - self.pointer)
              + match.start()
          )
          raise ReaderError(
              self.name,
              position,
              ord(character),
              "unicode",
              "special characters are not allowed",
          )
  
file_path: keepsake/python/keepsake/_vendor/yaml/reader.py
imports: from .error import YAMLError, Mark
  import codecs, re
label_desc: Use image node_id 7 for calling the Reader obj's underlying member method code with example usage: obj.check_printable(data) without return types