class AAINetworkResources {

    public boolean checkNetworkNameInUse(String networkName) {
        AAIPluralResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().l3Networks())
                .queryParam("network-name", networkName);
        return injectionHelper.getAaiClient().exists(uri);
    }

}