private boolean isRemoveAllVolumes(ExportMask exportMask,List<URI> volumesToRemove){
  List<URI> volumesInMask=ExportMaskUtils.getVolumeURIs(exportMask);
  return volumesInMask.isEmpty() || (volumesInMask.containsAll(volumesToRemove) && (volumesInMask.size() == volumesToRemove.size()));
}

private boolean isRemoveAllVolumes ( ExportMask exportMask , List < URI > volumesToRemove ) { List < URI > volumesInMask = ExportMaskUtils . getVolumeURIs ( exportMask ) ; return volumesInMask . isEmpty ( ) || ( volumesInMask . containsAll ( volumesToRemove ) && ( volumesInMask . size ( ) == volumesToRemove . size ( ) ) ) ; }
returns true if the request is to remove all the volumes in the exportmask .
