How to conditionally remove a watermark in DocumentsCorePack templates

How to conditionally remove a watermark in DocumentsCorePack templates