core-ktx / androidx.util / android.util.SparseBooleanArray / contains

contains

inline operator fun SparseBooleanArray.contains(key: Int): Boolean

Returns true if the collection contains key.