or better the standard syntax:
if (($renderer_data = $cache->get($key)) !== false)
else ..