using predicate of java8 replace my lambda Utils