containsKey

Checks whether the snapshot contains the given key.

Return

true if the key exists, false otherwise.

Parameters

key

The key to check.