public function exists($key, $namespace)
    {
        // Get internal used key
        $key = $this->calculateUuid($key);

        return file_exists(
            $this->getFilenameByKeyAndNamespace($key, $namespace)
        );
    }
public function exists($key, $namespace)
    {
        // Get internal used key
        $key = $this->calculateUuid($key);

        return file_exists(
            $this->getFilenameByKeyAndNamespace($key, $namespace)
        );
    }
public function exists ( $ key , $ namespace ) { // Get internal used key $ key = $ this -> calculateUuid ( $ key ) ; return file_exists ( $ this -> getFilenameByKeyAndNamespace ( $ key , $ namespace ) ) ; }
Checks if a dataset exists.

This method is intend to check if a dataset exists.

@param string $key       The key of the dataset
@param string $namespace The namespace of the dataset

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if file exist, otherwise FALSE

@throws Doozr_Cache_Service_Exception
Checks if a dataset exists .