public function exists($id, $version = null)
    {
        $list = $this->getList(array('id' => $id, 'version' => $version));
        return !empty($list);
    }
public function exists($id, $version = null)
    {
        $list = $this->getList(array('id' => $id, 'version' => $version));
        return !empty($list);
    }
public function exists ( $ id , $ version = null ) { $ list = $ this -> getList ( array ( 'id' => $ id , 'version' => $ version ) ) ; return ! empty ( $ list ) ; }
Whether a backup already exists
@param string $id
@param null|string $version
@return bool
Whether a backup already exists