contains

Checks if the given name exists in the cache.

Return

true if the name exists in the cache, false otherwise

Parameters

name

the name to check for existence in the cache