code: public boolean isParent(RegistryEntry registryEntry) {
  		RegistryEntry entry = getParentRegistryEntry();
  		while (entry != null) {
  			if (entry.equals(registryEntry)) {
  				return true;
  			}
  			entry = entry.getParentRegistryEntry();
  		}
  		return false;
  	}
docs: Check the legacy is a parent of <b>this</b> {@link RegistryEntryImpl}
  instance
  
  @param registryEntry parent to check
  @return true if the legacy is a parent