``` data class Custom(val i: Int) typealias MyDat...
# announcements
o
Copy code
data class Custom(val i: Int)

typealias MyData = Map<Custom, List<Int>>

fun MyData.isEmpty(key: Custom) = this[key]?.isEmpty()