code: public static int indexOf(@NonNull final boolean[] array, final boolean value) {
          Condition.INSTANCE.ensureNotNull(array, "The array may not be null");
          for (int i = 0; i < array.length; i++) {
              if (array[i] == value) {
                  return i;
              }
          }
  
          return -1;
      }
docs: Returns the index of the first item of an array, which equals a specific boolean value.
  
  @param array
  The array, which should be checked, as a {@link Boolean} array. The array may not be
  null
  @param value
  The value, which should be checked, as a {@link Boolean} value
  @return The index of the first item, which equals the given boolean value, as an {@link
  Integer} value or -1, if no item of the array equals the value