val something: Any? = null val list = listOfNotNull(something) print(list.isEmpty())