/**
  * Checks if a storage service exists or not.
  *
  * @param string $name Storage service name.
  *
  * @return bool
  */
 public function storageServiceExists($name)
 {
     $result = $this->_proxy->listStorageServices();
     $storageServices = $result->getStorageServices();
     foreach ($storageServices as $storageService) {
         if ($storageService->getName() == $name) {
             return true;
         }
     }
     return false;
 }