code: def is_datetimetz(arr):
      """
      Check whether an array-like is a datetime array-like with a timezone
      component in its dtype.
  
      .. deprecated:: 0.24.0
  
      Parameters
      ----------
      arr : array-like
          The array-like to check.
  
      Returns
      -------
      boolean : Whether or not the array-like is a datetime array-like with
                a timezone component in its dtype.
  
      Examples
      --------
      >>> is_datetimetz([1, 2, 3])
      False
  
      Although the following examples are both DatetimeIndex objects,
      the first one returns False because it has no timezone component
      unlike the second one, which returns True.
  
      >>> is_datetimetz(pd.DatetimeIndex([1, 2, 3]))
      False
      >>> is_datetimetz(pd.DatetimeIndex([1, 2, 3], tz="US/Eastern"))
      True
  
      The object need not be a DatetimeIndex object. It just needs to have
      a dtype which has a timezone component.
  
      >>> dtype = DatetimeTZDtype("ns", tz="US/Eastern")
      >>> s = pd.Series([], dtype=dtype)
      >>> is_datetimetz(s)
      True
      """
  
      warnings.warn(
          "'is_datetimetz' is deprecated and will be removed in a "
          "future version.  Use 'is_datetime64tz_dtype' instead.",
          FutureWarning,
          stacklevel=2,
      )
      return is_datetime64tz_dtype(arr)
  
imports: import warnings
  import numpy
  from pandas._libs import algos, lib
  from pandas._libs.tslibs import conversion
  from pandas.compat import PY3, PY36, string_types
  from pandas.core.dtypes.dtypes import CategoricalDtype, DatetimeTZDtype, ExtensionDtype, IntervalDtype, PandasExtensionDtype, PeriodDtype, registry
  from pandas.core.dtypes.generic import ABCCategorical, ABCDateOffset, ABCDatetimeIndex, ABCIndexClass, ABCPeriodArray, ABCPeriodIndex, ABCSeries
  from pandas.core.dtypes.inference import is_array_like, is_bool, is_complex, is_decimal, is_dict_like, is_file_like, is_float, is_hashable, is_integer, is_interval, is_iterator, is_list_like, is_named_tuple, is_nested_list_like, is_number, is_re, is_re_compilable, is_scalar, is_sequence, is_string_like
label_desc: Use image node_id 10 for calling a global function with example usage: is_datetimetz(arr) and returns: is_datetime64tz_dtype