docs: public static boolean isClosed(final Range<?> range) {
      return range.hasUpperBound() && BoundType.CLOSED.equals(range.upperBoundType())
          && range.hasLowerBound() && BoundType.CLOSED.equals(range.lowerBoundType());
    }