The XDRDVALF variable is defined during the MERGE process, and can be used to determine whether changes which are being seen are the result of a merge process.