code: def can_iup_in_between(
      deltas: _DeltaSegment,
      coords: _PointSegment,
      i: Integral,
      j: Integral,
      tolerance: Real,
  ):  # -> bool:
      """Return true if the deltas for points at `i` and `j` (`i < j`) can be
      successfully used to interpolate deltas for points in between them within
      provided error tolerance."""
  
      assert j - i >= 2
      interp = iup_segment(
          coords[i + 1 : j], coords[i], deltas[i], coords[j], deltas[j]
      )
      deltas = deltas[i + 1 : j]
  
      return all(
          abs(complex(x - p, y - q)) <= tolerance
          for (x, y), (p, q) in zip(deltas, interp)
      )
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/iup.py
imports: from typing import Sequence, Tuple, Union
  from numbers import Integral, Real
label_desc: Use image node_id 4 for calling a global function with example usage: can_iup_in_between(deltas, coords, i, j, tolerance) and returns: all