code: def assert_dataset(result, dataset_id):
      dataset = result["dataset"]
      assert dataset["id"] == dataset_id
      assert dataset["datasource_name"] == "wb_health_population"
      assert dataset["is_sqllab_view"] == False
      assert dataset["main_dttm_col"] == "year"
      assert dataset["sql"] == None
      assert dataset["type"] == "table"
      assert dataset["uid"] == f"{dataset_id}__table"
  
imports: import json
  from unittest.mock import patch
  import pytest
  from flask_appbuilder.security.sqla.models import User
  from sqlalchemy.orm import Session
  from superset.commands.explore.form_data.state import TemporaryExploreState
  from superset.connectors.sqla.models import SqlaTable
  from superset.explore.exceptions import DatasetAccessDeniedError
  from superset.extensions import cache_manager
  from superset.models.slice import Slice
  from tests.integration_tests.fixtures.world_bank_dashboard import load_world_bank_dashboard_with_slices, load_world_bank_data
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 5 for calling a global function with example usage: assert_dataset(result, dataset_id) without return types