public static function isCacheEnabled($pBlockConfig)
    {
    	$configCacheName = ConfigInterface::CONFIG_CACHE_NAME;

    	return (is_array($pBlockConfig)
    			and Agl::app()->isCacheEnabled()
    			and isset($pBlockConfig[$configCacheName])
    			and is_array($pBlockConfig[$configCacheName]));
    }