[PD] How to check if a patch is vanilla