docs: protected boolean withinLimit(Integer limit, Collection<?> collection) {
          if (limit == null) {
              return true;
          } else {
              int value = limit.intValue();
              return value <= 0 || value > collection.size();
          }
      }