contains

fun contains(key: K): Boolean

Check if a key exists in the cache.