added Cache::is_thread_safe property