VBA API to determine if file is in EPDM system or regular server

Is there a simple "if then" that i could add to check to see if a file is in my Vault, and if it is then continue to run the macro, or end if not in the Vault?

SolidworksApi macros