isExemption

abstract fun isExemption(documentUrl: String, url: String): Boolean

Detects if there is an existing exemption based on the document url and the url requested. It takes as parameters: mandatory documentUrl - The initially requested url, potentially leading to the advertiser page. mandatory url - The requested url, potentially a tracker used for ad attribution.

Return

true if there is an existing exemption for this combination of documentUrl and url, false otherwise.