code: def check_spacy_data():
      """
      Returns True if SpaCy data has been downloaded, False otherwise
      """
      try:
          spacy.load("en_core_web_sm")
          return True
      except OSError:
          pytest.xfail(
              "error occured because spacy data model is not available"
          )
  
imports: import pytest
  import matplotlib.pyplot
  from tests.base import VisualTestCase
  from tests.base import IS_WINDOWS_OR_CONDA
  from yellowbrick.text.postag import *
  from yellowbrick.exceptions import YellowbrickValueError
label_desc: Use image node_id 2 for calling a global function with example usage: check_spacy_data() and returns: True