@SuppressWarnings("SimplifiableIfStatement")
  @RestrictTo(RestrictTo.Scope.LIBRARY)
  public boolean propagateToChildren(String key, int depth) {
    if ("__container".equals(key)) {
      return true;
    }
    return depth < keys.size() - 1 || keys.get(depth).equals("**");
  }
Returns whether the keypath resolution should propagate to children. Some keypaths resolve
to content other than leaf contents (such as a layer or content group transform) so sometimes
this will return false.
lottie/src/main/java/com/airbnb/lottie/model/KeyPath.java