code: private static boolean isMaybeRecursive(final Object o) {
          return o.getClass().isArray() || o instanceof Map || o instanceof Collection;
      }
docs: Returns {@code true} if the specified object is an array, a Map or a Collection.