code: def _verify_outputs(
      self,
      transform,
      materialize=True,
      disable_analyzer_cache=False,
      disable_statistics=False,
  ):
      self.assertEqual(
          standard_artifacts.TransformGraph.TYPE_NAME,
          transform.outputs[
              standard_component_specs.TRANSFORM_GRAPH_KEY
          ].type_name,
      )
      if materialize:
          self.assertEqual(
              standard_artifacts.Examples.TYPE_NAME,
              transform.outputs[
                  standard_component_specs.TRANSFORMED_EXAMPLES_KEY
              ].type_name,
          )
      else:
          self.assertNotIn(
              standard_component_specs.TRANSFORMED_EXAMPLES_KEY,
              transform.outputs.keys(),
          )
  
      if disable_analyzer_cache:
          self.assertNotIn(
              "updated_analyzer_cache", transform.outputs.keys()
          )
      else:
          self.assertEqual(
              standard_artifacts.TransformCache.TYPE_NAME,
              transform.outputs[
                  standard_component_specs.UPDATED_ANALYZER_CACHE_KEY
              ].type_name,
          )
  
      if disable_statistics:
          for key in [
              standard_component_specs.PRE_TRANSFORM_STATS_KEY,
              standard_component_specs.PRE_TRANSFORM_SCHEMA_KEY,
              standard_component_specs.POST_TRANSFORM_ANOMALIES_KEY,
              standard_component_specs.POST_TRANSFORM_STATS_KEY,
              standard_component_specs.POST_TRANSFORM_SCHEMA_KEY,
          ]:
              self.assertNotIn(key, transform.outputs.keys())
      else:
          for key, name in [
              (
                  standard_component_specs.PRE_TRANSFORM_STATS_KEY,
                  standard_artifacts.ExampleStatistics.TYPE_NAME,
              ),
              (
                  standard_component_specs.PRE_TRANSFORM_SCHEMA_KEY,
                  standard_artifacts.Schema.TYPE_NAME,
              ),
              (
                  standard_component_specs.POST_TRANSFORM_ANOMALIES_KEY,
                  standard_artifacts.ExampleAnomalies.TYPE_NAME,
              ),
              (
                  standard_component_specs.POST_TRANSFORM_STATS_KEY,
                  standard_artifacts.ExampleStatistics.TYPE_NAME,
              ),
              (
                  standard_component_specs.POST_TRANSFORM_SCHEMA_KEY,
                  standard_artifacts.Schema.TYPE_NAME,
              ),
          ]:
              self.assertEqual(name, transform.outputs[key].type_name)
  
imports: import json
  import tensorflow
  from tfx.components.transform import component
  from tfx.orchestration import data_types
  from tfx.proto import transform_pb2
  from tfx.types import artifact_utils
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import proto_utils
label_desc: Use image node_id 2 for calling the ComponentTest obj's underlying member method code with example usage: obj._verify_outputs(transform, materialize, disable_analyzer_cache, disable_statistics) without return types