code: def check_label(label):
      npt.assert_equal(label.font_family, "Arial")
      npt.assert_equal(label.justification, "left")
      npt.assert_equal(label.italic, False)
      npt.assert_equal(label.shadow, False)
      npt.assert_equal(
          label.actor.GetTextProperty().GetBackgroundColor(),
          (0.0, 0.0, 0.0),
      )
      npt.assert_equal(
          label.actor.GetTextProperty().GetBackgroundOpacity(), 0.0
      )
      npt.assert_equal(label.color, (0.7, 0.7, 0.7))
  
file_path: dipy/dipy/viz/horizon/tab/tests/test_base.py
imports: import pytest
  import warnings
  import numpy.testing
  from dipy.testing import check_for_warnings
  from dipy.utils.optpkg import optional_package
  from dipy.testing.decorators import use_xvfb
  from dipy.viz.horizon.tab.base import build_checkbox, build_label, build_slider, build_switcher
label_desc: Use image node_id 1 for calling a global function with example usage: check_label(label) without return types