joscha.alisch
return if (list.size == list.filterIsInstance<MyClazz>().size) { list } else { emptyList() }