code: def _check_data_extractors(
      data_extractors: pipeline_dp.DataExtractors,
  ):
      if data_extractors is None:
          raise ValueError(
              "data_extractors must be set to a DataExtractors"
          )
      if not isinstance(data_extractors, pipeline_dp.DataExtractors):
          raise TypeError(
              "data_extractors must be set to a DataExtractors"
          )
  
imports: import functools
  from typing import Any, Callable, Optional, Sequence, Tuple, Union
  import pipeline_dp
  from pipeline_dp import budget_accounting
  from pipeline_dp import combiners
  from pipeline_dp import contribution_bounders
  from pipeline_dp import dp_computations
  from pipeline_dp import partition_selection
  from pipeline_dp import pipeline_functions
  from pipeline_dp import report_generator
  from pipeline_dp import sampling_utils
  from pipeline_dp.dataset_histograms import computing_histograms
  from pipeline_dp.private_contribution_bounds import PrivateL0Calculator
label_desc: Use image node_id 2 for calling a global function with example usage: _check_data_extractors(data_extractors) without return types