code: def _isin_datetimelike(
      lhs: Union[column.TimeDeltaColumn, column.DatetimeColumn],
      values: Sequence,
  ) -> column.ColumnBase:
      """
      Check whether values are contained in the
      DateTimeColumn or TimeDeltaColumn.
  
      Parameters
      ----------
      lhs : TimeDeltaColumn or DatetimeColumn
          Column to check whether the `values` exist in.
      values : set or list-like
          The sequence of values to test. Passing in a single string will
          raise a TypeError. Instead, turn a single string into a list
          of one element.
  
      Returns
      -------
      result: Column
          Column of booleans indicating if each element is in values.
      """
      rhs = None
      try:
          rhs = cudf.core.column.as_column(values)
  
          if rhs.dtype.kind in {"f", "i", "u"}:
              return cudf.core.column.full(
                  len(lhs), False, dtype="bool"
              )
          rhs = rhs.astype(lhs.dtype)
          res = lhs._isin_earlystop(rhs)
          if res is not None:
              return res
      except ValueError:
          # pandas functionally returns all False when cleansing via
          # typecasting fails
          return cudf.core.column.full(len(lhs), False, dtype="bool")
  
      res = lhs._obtain_isin_result(rhs)
      return res
  
imports: import math
  import re
  import warnings
  from typing import Sequence, Union
  import cupy
  import numpy
  import pandas
  import pandas.tseries.offsets
  from pandas.core.tools.datetimes import _unit_map
  from typing_extensions import Self
  import cudf
  from cudf import _lib
  from cudf._lib.strings.convert.convert_integers import is_integer
  from cudf.api.types import is_integer, is_scalar
  from cudf.core import column
  from cudf.core.index import as_index
label_desc: Use image node_id 4 for calling a global function with example usage: _isin_datetimelike(lhs, values) and returns: res, cudf, res, cudf