class_docstr: Simple scanner
  
  All method patterns are regular expression strings (not
  compiled expressions!)
docstr: Apply a pattern on the current position and check
  if it patches. Doesn't touch pos.
code: def test(self, pattern):
      """Apply a pattern on the current position and check
      if it patches. Doesn't touch pos.
      """
      return self.check(pattern) is not None
  
file_path: catboost/contrib/python/Pygments/py2/pygments/scanner.py
imports: import re
label_desc: Use image node_id 4 for calling the Scanner obj's underlying member method code with example usage: obj.test(pattern) and returns: unknown