code: @SafeVarargs
      public static Map<String, AttributeValue> asItem(Object... a) {
          if (0 != (a.length % 2)) {
              throw new IllegalArgumentException(
                      "The parameters must be the pairs of property name and value, or Map, or an entity class with getter/setter methods.");
          }
  
          final Map<String, AttributeValue> item = new LinkedHashMap<>(N.initHashCapacity(a.length / 2));
  
          for (int i = 0; i < a.length; i++) {
              item.put((String) a[i], attrValueOf(a[++i]));
          }
  
          return item;
      }
docs: May misused with toItem