code: def test_patstr_bool(self, doc_en):
      matches = list(
          extract.token_matches(doc_en, "IS_PUNCT:bool(True)")
      )[:5]
      assert matches
      assert all(span[0].is_punct is True for span in matches)
  
imports: import re
  import pytest
  from spacy.tokens import Span
  from textacy import extract
  from textacy.extract.matches import _make_pattern_from_string
label_desc: Use image node_id 4 for calling the TestTokenMatches obj's underlying member method code with example usage: obj.test_patstr_bool(doc_en) without return types