add isEmpty to CollectionUtil class