code: protected boolean doesInfoTopicMatch(final InfoTopic infoTopic, final CSInfoNodeWrapper infoNode, final CSNodeWrapper parentNode) {
          if (infoNode == null && infoTopic != null) return false;
  
          // If the unique id is not from the parser, in which case it will start with a number than use the unique id to compare
          if (infoTopic.getUniqueId() != null && infoTopic.getUniqueId().matches("^\\d.*")) {
              return infoTopic.getUniqueId().equals(Integer.toString(parentNode.getId()));
          } else {
              // Since a content spec doesn't contain the database ids for the nodes use what is available to see if the topics match
              return infoTopic.getDBId().equals(infoNode.getTopicId());
          }
      }
docs: Checks to see if a ContentSpec topic matches a Content Spec Entity topic.
  
  @param infoTopic  The ContentSpec topic object.
  @param infoNode   The Content Spec Entity topic.
  @param parentNode
  @return True if the topic is determined to match otherwise false.