if (itemIsObject && !ID_PATTERN.matcher(item.get(0)).matches()) {
throw new IllegalArgumentException();
}
}
if (!add && !isIDInModel(userID)) {
throw new NoSuchUserException();
}
for (List<String> item : items) {
if (!add && !isIDInModel(item.get(0))) {
throw new NoSuchItemException();
}