private void setupInOutAnimations() {
    if (!layerModel.getInOutKeyframes().isEmpty()) {
      inOutAnimation = new FloatKeyframeAnimation(layerModel.getInOutKeyframes());
      inOutAnimation.setIsDiscrete();
      inOutAnimation.addUpdateListener(() -> setVisible(inOutAnimation.getFloatValue() == 1f));
      setVisible(inOutAnimation.getValue() == 1f);
      addAnimation(inOutAnimation);
    } else {
      setVisible(true);
    }
  }
Enable this to debug slow animations by outlining masks and mattes. The performance overhead of the masks and mattes will
be proportional to the surface area of all of the masks/mattes combined.
<p>
DO NOT leave this enabled in production.
lottie/src/main/java/com/airbnb/lottie/model/layer/BaseLayer.java