code: def _check(
      dataset,
      name,
      digest,
      source_type,
      source,
      schema=None,
      profile=None,
  ):
      assert isinstance(dataset, Dataset)
      assert dataset.name == name
      assert dataset.digest == digest
      assert dataset.source_type == source_type
      assert dataset.source == source
      assert dataset.schema == schema
      assert dataset.profile == profile
  
label_desc: Use image node_id 1 for calling a global function with example usage: _check(dataset, name, digest, source_type, source, schema, profile) without return types