protected boolean canDeleteConsistencyGroup(final BlockConsistencyGroup consistencyGroup){
  return (!consistencyGroup.getInactive() && !consistencyGroup.created());
}

protected boolean canDeleteConsistencyGroup ( final BlockConsistencyGroup consistencyGroup ) { return ( ! consistencyGroup . getInactive ( ) && ! consistencyGroup . created ( ) ) ; }
check to see if the consistency group is active and not created . in this case we can delete the consistency group . otherwise we should not delete the consistency group .
