Checks whether an item exists in the cache and updates its access time. If the life time of the item has expired, it is removed.
key to lookup
true: an item was found but removed because it was expired
true if item exists in cache and its life time is not yet expired.
Out: If expired is false, the return value is false.
See Implementation
Checks whether an item exists in the cache and updates its access time. If the life time of the item has expired, it is removed.