code: def test_issue1868():
      """Test Vocab.__contains__ works with int keys."""
      vocab = Vocab()
      lex = vocab["hello"]
      assert lex.orth in vocab
      assert lex.orth_ in vocab
      assert "some string" not in vocab
      int_id = vocab.strings.add("some string")
      assert int_id not in 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 1 for calling a global function with example usage: test_issue1868() without return types