code: def test_metadata():
      assert DATASET.metadata is not None
      for record in DATASET.records(limit=10):
          pass
      assert all(entry.get("id") for entry in DATASET.metadata.values())
      assert not any(
          entry.get("text") for entry in DATASET.metadata.values()
      )
  
file_path: textacy/tests/datasets/test_oxford_text_archive.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.oxford_text_archive import OxfordTextArchive
label_desc: Use image node_id 3 for calling a global function with example usage: test_metadata() without return types