def is_datetimetz(array):
 return ((isinstance(array, ABCDatetimeIndex) and (getattr(array, 'tz', None) is not None)) or is_datetime64tz_dtype(array))

def is_datetimetz ( array ) : return ( ( isinstance ( array , ABCDatetimeIndex ) and ( getattr ( array , 'tz' , None ) is not None ) ) or is_datetime64tz_dtype ( array ) )
return if we are a datetime with tz array .