public static <T> boolean isEmpty(T[] array) {
        return null == array || array.length == 0;
    }
@Test
  public void isEmpty() {
    final Object[] array = {};
    Assert.assertTrue(CollectionKit.isEmpty(array));

    final Object[] array2 = {null};
    Assert.assertFalse(CollectionKit.isEmpty(array2));

    final Object[] array3 = null;
    Assert.assertTrue(CollectionKit.isEmpty(array3));

    final ArrayList collection = new ArrayList();
    Assert.assertTrue(CollectionKit.isEmpty(collection));

    final ArrayList collection2 = new ArrayList();
    collection2.add(null);
    Assert.assertFalse(CollectionKit.isEmpty(collection2));

    final ArrayList collection3 = null;
    Assert.assertTrue(CollectionKit.isEmpty(collection3));
  }