code: def check_visualizer(Visualizer):
      """
      Check if visualizer adheres to Yellowbrick conventions.
  
      This function runs an extensive test-suite for input validation, return
      values, exception handling, and more. Additional tests for scoring or
      tuning visualizers will be run if the Visualizer clss inherits from the
      corresponding object.
      """
      name = Visualizer.__name__
      for check in _yield_all_checks(name, Visualizer):
          check(name, Visualizer)
  
file_path: yellowbrick/tests/checks.py
imports: import sys
  import numpy
  import matplotlib.pyplot
  from yellowbrick.base import ModelVisualizer, ScoreVisualizer
  from yellowbrick.classifier.base import ClassificationScoreVisualizer
  from yellowbrick.cluster.base import ClusteringScoreVisualizer
  from yellowbrick.features.base import FeatureVisualizer, DataVisualizer
  from yellowbrick.regressor.base import RegressionScoreVisualizer
  from yellowbrick.text.base import TextVisualizer
label_desc: Use image node_id 1 for calling a global function with example usage: check_visualizer(Visualizer) without return types