@Contract(value = "null -> true", pure=true)
  public static <T> boolean isEmpty(T @Nullable [] array) {
    return array == null || array.length == 0;
  }
@Contract(value = "null -> true", pure=true)
  public static <T> boolean isEmpty(T @Nullable [] array)