Adding a Method to the Cache API

* hasKey