Added Cache::has method