private static String dumpArrayString(Object[] arguments, Function<Object, String> argDumper) {
    StringBuilder argBuf = new StringBuilder("[");
    for (int i = 0; i < arguments.length; i++) {
      if (i > 0) {
        argBuf.append(", ");
      }
      argBuf.append(argDumper.apply(arguments[i]));
    }
    argBuf.append("]");
    return argBuf.toString();
  }
Returns true if the Object is handled properly by {@link org.codehaus.groovy.runtime.InvokerHelper#inspect(java.lang.Object)}
or {@link org.codehaus.groovy.runtime.InvokerHelper#toString(Object)}, either by special handling or if the Class has
an own {@code toString()} implementation.
spock-core/src/main/java/org/spockframework/util/RenderUtil.java