method

exist?

exist?(name, options = nil)
public

Returns true if the cache contains an entry for the given key.

Options are passed to the underlying cache implementation.