docs: protected boolean doesRelationshipMatch(final TopicRelationship relationship, final CSRelatedNodeWrapper relatedNode) {
          // If the relationship is a TopicRelationship, then the related node must be a topic or its not a match
          if (!EntityUtilities.isNodeATopic(relatedNode)) return false;
  
          // Check if the type matches first
          if (!RelationshipType.getRelationshipTypeId(relationship.getType()).equals(relatedNode.getRelationshipType())) 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 (relationship.getSecondaryRelationship().getUniqueId() != null && relationship.getSecondaryRelationship().getUniqueId().matches(
                  "^\\d.*")) {
              return relationship.getSecondaryRelationship().getUniqueId().equals(Integer.toString(relatedNode.getId()));
          } else {
              return relationship.getSecondaryRelationship().getDBId().equals(relatedNode.getEntityId());
          }
      }