class AAIInstanceGroupResources {

    public boolean exists(InstanceGroup instanceGroup) {
        AAIResourceUri instanceGroupUri =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().instanceGroup(instanceGroup.getId()));
        return injectionHelper.getAaiClient().exists(instanceGroupUri);
    }

}