code: def temporal_overlaps(
      left_time_point, left_temporal, right_time_point, right_temporal
  ) -> Expression:
      """
      Determines whether two anchored time intervals overlap. Time point and temporal are
      transformed into a range defined by two time points (start, end). The function
      evaluates `left_end >= right_start && right_end >= left_start`.
  
      e.g.
          temporal_overlaps(
              lit("2:55:00").to_time,
              lit(1).hours,
              lit("3:30:00").to_time,
              lit(2).hours) leads to true.
  
      :param left_time_point: The left time point
      :param left_temporal: The time interval from the left time point
      :param right_time_point: The right time point
      :param right_temporal: The time interval from the right time point
      :return: An expression which indicates whether two anchored time intervals overlap.
      """
      return _quaternion_op(
          "temporalOverlaps",
          left_time_point,
          left_temporal,
          right_time_point,
          right_temporal,
      )
  
imports: from typing import Union
  from pyflink import add_version_doc
  from pyflink.java_gateway import get_gateway
  from pyflink.table.expression import Expression, _get_java_expression, TimePointUnit, JsonOnNull
  from pyflink.table.types import _to_java_data_type, DataType
  from pyflink.table.udf import UserDefinedFunctionWrapper
  from pyflink.util.java_utils import to_jarray, load_java_class
label_desc: Use image node_id 24 for calling a global function with example usage: temporal_overlaps(left_time_point, left_temporal, right_time_point, right_temporal) and returns: _quaternion_op