Check if the cache contains a specific entry. It is better to use get and check for null-returns
bool containsKey(K key);