You can check the first bytes in the APP binary to see if its reset vector points to 0x0800C121.
It would be better if the code in the LIB, instead of jumping to a hard-coded address, would read the reset vector at 0x800C004 and jump to its value.
In fact, you can replicate pretty much what is done in the DS0201_DFU main() function.