src/Watson/Sitemap/Sitemap.php
public function hasCachedView()
    {
        if (config('sitemap.cache_enabled')) {
            $key = $this->getCacheKey();

            return $this->cache->has($key);
        }

        return false;
    }
public function hasCachedView()
    {
        if (config('sitemap.cache_enabled')) {
            $key = $this->getCacheKey();

            return $this->cache->has($key);
        }

        return false;
    }
public function hasCachedView ( ) { if ( config ( 'sitemap.cache_enabled' ) ) { $ key = $ this -> getCacheKey ( ) ; return $ this -> cache -> has ( $ key ) ; } return false ; }
Check whether the sitemap has a cached view or not.

@return bool
Check whether the sitemap has a cached view or not .