code: def test_datetime_es_last_time_index_logical_type(es):
      assert es.time_type == Datetime
  
      es.add_last_time_indexes()
  
      for df in es.dataframes:
          assert isinstance(
              df.ww.logical_types[LTI_COLUMN_NAME], Datetime
          )
          es._check_uniform_time_index(df, LTI_COLUMN_NAME)
  
imports: from datetime import datetime
  import numpy
  import pandas
  import pytest
  from woodwork.exceptions import TypeConversionError
  from woodwork.logical_types import Boolean, Categorical, Datetime, Double, Integer, NaturalLanguage
  from featuretools.entityset.entityset import LTI_COLUMN_NAME, EntitySet
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.gen_utils import Library, import_or_none, is_instance
label_desc: Use image node_id 26 for calling a global function with example usage: test_datetime_es_last_time_index_logical_type(es) without return types