public static XtremIOVolume isVolumeAvailableInArray(XtremIOClient client,String label,String clusterName){
  XtremIOVolume volume=null;
  try {
    volume=client.getVolumeDetails(label,clusterName);
  }
 catch (  Exception e) {
    _log.info("Volume {} already deleted.",label);
  }
  return volume;
}

public static XtremIOVolume isVolumeAvailableInArray ( XtremIOClient client , String label , String clusterName ) { XtremIOVolume volume = null ; try { volume = client . getVolumeDetails ( label , clusterName ) ; } catch ( Exception e ) { _log . info ( "Volume {} already deleted." , label ) ; } return volume ; }
check if there is a volume with the given name if found , return the volume
