docs: public boolean hasDeploymentSubModel(final String subsystemName, final PathAddress address) {
          final Resource root = deploymentUnit.getAttachment(DEPLOYMENT_RESOURCE);
          final PathElement subsystem = PathElement.pathElement(SUBSYSTEM, subsystemName);
          boolean found = false;
          if (root.hasChild(subsystem)) {
              if (address == PathAddress.EMPTY_ADDRESS) {
                  return true;
              }
              Resource parent = root.getChild(subsystem);
              for (PathElement child : address) {
                  if (parent.hasChild(child)) {
                      found = true;
                      parent = parent.getChild(child);
                  } else {
                      found = false;
                      break;
                  }
              }
          }
          return found;
      }