code: def test_matcher_len_contains(matcher):
      assert len(matcher) == 3
      matcher.add("TEST", [[{"ORTH": "test"}]])
      assert "TEST" in matcher
      assert "TEST2" not in matcher
  
imports: import pytest
  from mock import Mock
  from spacy.matcher import Matcher
  from spacy.tokens import Doc, Span, Token
  from ..doc.test_underscore import clean_underscore
label_desc: Use image node_id 5 for calling a global function with example usage: test_matcher_len_contains(matcher) without return types