docs: public static boolean isPartOfProcessApplication(DeploymentUnit unit) {
      if(isProcessApplication(unit)) {
        return true;
      }
      if(unit.getParent() != null && unit.getParent() != unit) {
        return unit.getParent().hasAttachment(PART_OF_MARKER);
      }
      return false;
    }