Yes you can do this using an 'Logical Expression' within your DAP configuration
Checking for a Hotfix on the User PC
This example checks for a specific hotfix. If a user does not have the hotfix on their PC, a message that it is not installed displays.
or you could define it this way (which makes more sense):
You can build the expression in this example because the debug dap trace returns: