docs: private boolean resourceExists(final ModelNode address, final ModelControllerClient client) throws IOException {
          final Property childAddress = ServerOperations.getChildAddress(address);
          final ModelNode parentAddress = ServerOperations.getParentAddress(address);
          final ModelNode r = client.execute(ServerOperations.createOperation(ServerOperations.READ_RESOURCE, parentAddress, false));
          reportFailure(r);
          boolean found = false;
          final String name = childAddress.getName();
          if (ServerOperations.isSuccessfulOutcome(r)) {
              final ModelNode resources = ServerOperations.readResult(r).get(name);
              if (resources.isDefined()) {
                  for (ModelNode dataSource : resources.asList()) {
                      if (dataSource.asProperty().getName().equals(childAddress.getValue().asString())) {
                          found = true;
                      }
                  }
              }
          }
          return found;
      }