key in cache: True if the key holds a live value.
key in cache
Usage
Source
CacheLike.__contains__(key)