code: def test_attrs_idempotence(text):
      int_attrs = intify_attrs(
          {"lemma": text, "is_alpha": True}, strings_map={text: 10}
      )
      assert intify_attrs(int_attrs) == {LEMMA: 10, IS_ALPHA: True}
  
file_path: spacy/spacy/tests/lang/test_attrs.py
imports: import pytest
  from spacy.attrs import ENT_IOB, IS_ALPHA, LEMMA, NORM, ORTH, intify_attrs
  from spacy.lang.en.stop_words import STOP_WORDS
  from spacy.lang.lex_attrs import is_ascii, is_currency, is_punct, is_stop, like_url, word_shape
label_desc: Use image node_id 3 for calling a global function with example usage: test_attrs_idempotence(text) without return types