code: public boolean isArray(Object value) {
  
          return value != null && (value.getClass().isArray() || value instanceof List);
      }
docs: Returns true iff `value` is an array or a java.util.List.
  
  @param value
  the value to check.
  
  @return true iff `value` is an array or a java.util.List.