code: public static boolean checkType(Object item) {
          return item == null
              || item instanceof String
              || item instanceof Integer
              || item instanceof Long
              || item instanceof Double
              || item instanceof Boolean
              || item instanceof BigInteger
              || item instanceof BigDecimal
              || item instanceof JsonObject
              || item instanceof JsonArray;
      }
docs: Helper method to check if the given item is a supported JSON item.
  
  @param item the value to check.
  @return true if supported, false otherwise.