def METHOD_NAME(op, data, lower, upper, **kwargs):
    if getattr(data.dtype, "tz", None) is not None:
        localized = data.dt.tz_convert("UTC").dt.tz_localize(None)
    else:
        localized = data
    time = localized.dt.time.astype(str)
    indexer = ((time >= lower) & (time <= upper)).to_dask_array(True)
    result = da.zeros(len(data), dtype=np.bool_)
    result[indexer] = True
    return dd.from_array(result)