isAnException

abstract fun isAnException(documentURL: String, url: String): Boolean

This method takes a documentURL and a url and returns true or false depending if the url and documentURL match the rules in the allowlist.

Return

true if the given url and documentURL match the rules in the allowlist