Cache query validator interface.
public
isValid(QueryCacheKey $key, QueryCacheEntry $entry): bool
Checks if the query entry is valid