PDF Template - Currency Verification

We run with dual currency in our quotes module, and our PDF templates are customized to either of the currencies, but we do not issue dual currency quotes. Currently if I build a quote in USD, but then open the CAD template, the line items will show with no dollar amount (which is to be expected) Is there a bit of code I can add to the PDF template that will look at the the currency (customized to the template) and if the currency doesn't match, then that quoted line item is not displayed?