Wouldn't it be better to use `dim_coord.units.is_time()`?