docs: protected boolean doesParentMatch(final CSNodeWrapper parent, final CSNodeWrapper entityParent) {
          if (parent != null && entityParent != null) {
              if (parent.getId() != null && parent.getId().equals(entityParent.getId())) {
                  return true;
              } else if (parent.getId() == null && entityParent.getId() == null && parent == entityParent) {
                  return true;
              } else {
                  return false;
              }
          } else if (parent == null && entityParent == null) {
              return true;
          } else {
              return false;
          }
      }