private static boolean shouldGoDeeper(Object o) {
    if (o instanceof CachedValueProvider) return true;

    Class<?> clazz = o.getClass();
    Class<?> superclass = clazz.getSuperclass();
    if (superclass == null) return false;

    if ((o instanceof Supplier || o instanceof java.util.function.Function) &&
        Object.class.equals(clazz.getSuperclass())) {
      return true;
    }

    return "kotlin.jvm.internal.Lambda".equals(superclass.getName());
  }
private static boolean shouldGoDeeper(Object o)