code: def is_dataset(data):
      dataset_ops = wandb.util.get_module(
          "tensorflow.python.data.ops.dataset_ops"
      )
      if dataset_ops and hasattr(dataset_ops, "DatasetV2"):
          dataset_types = (dataset_ops.DatasetV2,)
          if hasattr(dataset_ops, "DatasetV1"):
              dataset_types = dataset_types + (dataset_ops.DatasetV1,)
          return isinstance(data, dataset_types)
      else:
          return False
  
imports: import logging
  import operator
  import os
  import shutil
  import sys
  from itertools import chain
  import numpy
  import tensorflow
  import tensorflow.keras.backend
  import wandb
  from wandb.sdk.integration_utils.data_logging import ValidationDataLogger
  from wandb.sdk.lib.deprecate import Deprecated, deprecate
  from wandb.util import add_import_hook
label_desc: Use image node_id 3 for calling a global function with example usage: is_dataset(data) and returns: isinstance, False