Added a keyExists method to LocalStorage.

Returns a boolean indicating whether the specified key exists.