class CollectionFunctions {

    public static <T> boolean simpleAllMatch(Collection<T> list, Predicate<T> filterFn) {
        if (list == null || list.isEmpty()) {
            return true;
        }
        return list.stream().allMatch(filterFn);
    }

    private  CollectionFunctions();

}