boolean (@NotNull Collection<? extends Predicate<? super ColorKey>> filters, @NotNull ColorKey key) { for (Predicate<? super ColorKey> filter : filters) { if (!filter.test(key)) return false; } return true; }