@Nullable
  public Marker getMarker(String markerName) {
    int size = markers.size();
    for (int i = 0; i < size; i++) {
      Marker marker = markers.get(i);
      if (marker.matchesName(markerName)) {
        return marker;
      }
    }
    return null;
  }
Used to determine if an animation can be drawn with hardware acceleration.
lottie/src/main/java/com/airbnb/lottie/LottieComposition.java