public boolean hasMatte() {
    return lottieDrawable.hasMatte();
  }
Returns whether or not any layers in this composition has a matte layer.
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java