code: def test_vocab_writing_system(en_vocab):
      assert en_vocab.writing_system["direction"] == "ltr"
      assert en_vocab.writing_system["has_case"] is True
  
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 7 for calling a global function with example usage: test_vocab_writing_system(en_vocab) without return types