class AAIVnfResources {

    public boolean checkNameInUse(String vnfName) {
        AAIPluralResourceUri vnfUri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnfs())
                .queryParam("vnf-name", vnfName);
        return injectionHelper.getAaiClient().exists(vnfUri);
    }

}