code: def test_datatype_is_nested(
      dtype: PolarsDataType, expected: bool
  ) -> None:
      assert dtype.is_nested() is expected
  
imports: from __future__ import annotations
  import pickle
  from datetime import date, datetime, time
  from typing import TYPE_CHECKING, Any
  import pandas
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 38 for calling a global function with example usage: test_datatype_is_nested(dtype, expected) without return types