containsKey

fun <T> SparseArray<T>.containsKey(key: Int): Boolean

Returns true if the collection contains key.