If you want to be 100% sure, decrypt the EBOOT.BIN of your NPUB game and check if there are references to the BLUS folder. Sometimes the references to the DLC are in SELF or SPRX or EDAT.
that's usually the case with disc games and online games for consoles, I think. I know on the switch, I rebought all cartridge games I owned (around 17) online again, because of my shakiness. all dlc and saves worked with both versions.