code: def test_check_timedelta(es):
      time_units = list(Timedelta._readable_units.keys())
      expanded_units = list(Timedelta._readable_units.values())
      exp_to_standard_unit = {
          e: t for e, t in zip(expanded_units, time_units)
      }
      singular_units = [u[:-1] for u in expanded_units]
      sing_to_standard_unit = {
          s: t for s, t in zip(singular_units, time_units)
      }
      to_standard_unit = {}
      to_standard_unit.update(exp_to_standard_unit)
      to_standard_unit.update(sing_to_standard_unit)
      full_units = (
          singular_units + expanded_units + time_units + time_units
      )
  
      strings = [
          "2 {}".format(u)
          for u in singular_units + expanded_units + time_units
      ]
      strings += ["2{}".format(u) for u in time_units]
      for i, s in enumerate(strings):
          unit = full_units[i]
          standard_unit = unit
          if unit in to_standard_unit:
              standard_unit = to_standard_unit[unit]
  
          td = _check_timedelta(s)
          assert td.get_value(standard_unit) == 2
  
imports: import pandas
  import pytest
  from dateutil.relativedelta import relativedelta
  from featuretools.entityset import Timedelta
  from featuretools.feature_base import Feature
  from featuretools.primitives import Count
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.wrangle import _check_timedelta
label_desc: Use image node_id 5 for calling a global function with example usage: test_check_timedelta(es) without return types