src/Cache/Cache.php
public function isCached($cacheKey)
    {
        // TODO: Refactor for strict types!
        $path = $this->resolvePath($cacheKey, false);
        if (file_exists($path)) {
            return $path;
        } else {
            return false;
        }
    }
public function isCached($cacheKey)
    {
        // TODO: Refactor for strict types!
        $path = $this->resolvePath($cacheKey, false);
        if (file_exists($path)) {
            return $path;
        } else {
            return false;
        }
    }
public function isCached ( $ cacheKey ) { // TODO: Refactor for strict types! $ path = $ this -> resolvePath ( $ cacheKey , false ) ; if ( file_exists ( $ path ) ) { return $ path ; } else { return false ; } }
checks if a value is cached for a cache key.

@param string $cacheKey
@return bool|string
checks if a value is cached for a cache key .