@Override
    public boolean isCachedValueEnabled(float progress) {
      if (cachedCurrentKeyframe == currentKeyframe
          && cachedInterpolatedProgress == progress) {
        return true;
      }
      cachedCurrentKeyframe = currentKeyframe;
      cachedInterpolatedProgress = progress;
      return false;
    }
Similar to {@link #getValue(Keyframe, float)} but used when an animation has separate interpolators for the X and Y axis.
lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java