It sounds like you're asking if there's a way to determine if a
particular device is persistent memory. Because you mention "/dev/",
I'm also going to guess you only care about making this determination on
Linux.
As an administrator, you can get a list of persistent memory devices
using ndctl. As a (C) programmer, you can also get at this list via
libndctl.
In order to provide any further guidance, you'll have tell us exactly
what you're trying to achieve.
Cheers,
Jeff