code: def is_ktrain_dataset(data):
      from .dataset import Dataset
  
      return isinstance(data, Dataset)
  
imports: from .imports import *
  from subprocess import Popen
label_desc: Use image node_id 2 for calling a global function with example usage: is_ktrain_dataset(data) and returns: isinstance