code: def is_time_like(x) -> bool:
      """Check if input is time-like (pd.Timedelta, pd.DateOffset, etc.)."""
      if is_iterable(x):
          return array_is_timedelta_or_date_offset(
              x
          ) or array_is_datetime64(x)
      else:
          return is_timedelta_or_date_offset(x) or is_datetime(x)
  
imports: import os
  from datetime import timedelta
  from typing import Union
  import numpy
  import pandas
label_desc: Use image node_id 13 for calling a global function with example usage: is_time_like(x) and returns: unknown, unknown