public boolean created(URI storageSystemUri,String replicationGroupName){
  if (storageSystemUri != null && systemConsistencyGroups != null && !systemConsistencyGroups.isEmpty()) {
    StringSet cgNames=systemConsistencyGroups.get(storageSystemUri.toString());
    if (cgNames != null && !cgNames.isEmpty()) {
      if (replicationGroupName != null && !replicationGroupName.isEmpty()) {
        if (cgNames.contains(replicationGroupName)) {
          return true;
        }
 else {
          return false;
        }
      }
 else {
        return true;
      }
    }
  }
  return false;
}

public boolean created ( URI storageSystemUri , String replicationGroupName ) { if ( storageSystemUri != null && systemConsistencyGroups != null && ! systemConsistencyGroups . isEmpty ( ) ) { StringSet cgNames = systemConsistencyGroups . get ( storageSystemUri . toString ( ) ) ; if ( cgNames != null && ! cgNames . isEmpty ( ) ) { if ( replicationGroupName != null && ! replicationGroupName . isEmpty ( ) ) { if ( cgNames . contains ( replicationGroupName ) ) { return true ; } else { return false ; } } else { return true ; } } } return false ; }
check to see if the consistency group has been created for the given storage system , and replication group name
