code: public static void checkMinimumArrayLength(String parameterName,
              boolean[] array, int minimumLength) {
          checkNotNull(parameterName, array);
          checkArrayLength(parameterName, array.length, minimumLength);
      }
docs: Check that the parameter array is non-{@code null} and that it has at
  least as many elements as it should.
  
  @param parameterName
  The name of the user-supplied parameter that we are validating
  so that the user can easily find the error in their code.
  @param array
  The array to check
  @param minimumLength
  The minimum array length