code: def test_vocab_api_contains(en_vocab, text):
      _ = en_vocab[text]  # noqa: F841
      assert text in en_vocab
      assert "LKsdjvlsakdvlaksdvlkasjdvljasdlkfvm" not in en_vocab
  
file_path: spaCy/spacy/tests/vocab_vectors/test_vocab_api.py
imports: import os
  import pytest
  from spacy.attrs import IS_ALPHA, LEMMA, ORTH
  from spacy.lang.en import English
  from spacy.parts_of_speech import NOUN, VERB
  from spacy.vocab import Vocab
  from ..util import make_tempdir
label_desc: Use image node_id 6 for calling a global function with example usage: test_vocab_api_contains(en_vocab, text) without return types