public static boolean isSnapshotFullCopySupported(URI blockSnapURI,DbClient dbClient){
  BlockSnapshot blockObj=dbClient.queryObject(BlockSnapshot.class,blockSnapURI);
  StorageSystem storage=dbClient.queryObject(StorageSystem.class,blockObj.getStorageController());
  return (storage != null && (storage.deviceIsType(Type.openstack) || storage.deviceIsType(Type.vnxblock) || storage.deviceIsType(Type.ibmxiv)|| storage.deviceIsType(Type.vmax)));
}

public static boolean isSnapshotFullCopySupported ( URI blockSnapURI , DbClient dbClient ) { BlockSnapshot blockObj = dbClient . queryObject ( BlockSnapshot . class , blockSnapURI ) ; StorageSystem storage = dbClient . queryObject ( StorageSystem . class , blockObj . getStorageController ( ) ) ; return ( storage != null && ( storage . deviceIsType ( Type . openstack ) || storage . deviceIsType ( Type . vnxblock ) || storage . deviceIsType ( Type . ibmxiv ) || storage . deviceIsType ( Type . vmax ) ) ) ; }
check if the storage system type is openstack , vnxblock , vmax or ibmxiv . snapshot full copy is supported only on these storage systems .
