class BBInputSetup implements JavaDelegate {

    protected boolean isVlanTagging(Service service, String key) {
        CollectionResourceCustomization collectionCust = findCatalogNetworkCollection(service, key);
        if (collectionCust != null) {
            CollectionResource collectionResource = collectionCust.getCollectionResource();
            if (collectionResource != null && collectionResource.getInstanceGroup() != null
                    && collectionResource.getInstanceGroup().getToscaNodeType() != null
                    && collectionResource.getInstanceGroup().getToscaNodeType().contains("NetworkCollection")) {
                return true;
            }
        }
        return false;
    }

}