class_docstr: Adpat the input and output format for Keras Model.
  
  Adapter is used by the input nodes and the heads of the hypermodel. It do
  some type checking for the data and converts it to tf.data.Dataset format.
  It also batches the dataset if it is not batched.
docstr: Check if the dataset is valid for the input node.
  
  # Arguments
      dataset: Usually numpy.ndarray, pandas.DataFrame or
          tensorflow.Dataset. The dataset to be checked.
  
  # Returns
      Boolean. Whether the dataset is in compatible format.
docstr_tok: ["Check","if","the","dataset","is","valid","for","the","input","node",".","#","Arguments","dataset",":","Usually","numpy.ndarray",",","pandas.DataFrame","or","tensorflow.Dataset",".","The","dataset","to","be","checked",".","#","Returns","Boolean",".","Whether","the","dataset","is","in","compatible","format","."]
code: def check(self, dataset):
      """Check if the dataset is valid for the input node.
  
      # Arguments
          dataset: Usually numpy.ndarray, pandas.DataFrame or
              tensorflow.Dataset. The dataset to be checked.
  
      # Returns
          Boolean. Whether the dataset is in compatible format.
      """
      return True
  
file_path: autokeras/autokeras/engine/adapter.py
imports: import numpy
  import tensorflow
  from autokeras.utils import data_utils
label_desc: Use image node_id 1 for calling the Adapter obj's underlying member method code with example usage: obj.check(dataset) and returns: True