canUrlAddHeaders

abstract fun canUrlAddHeaders(url: String, existingHeaders: Map<String, String>): Boolean

This method takes a url and a map with its existingHeaders and it then returns true if the given url can add the GPC headers

Return

a true if the given url and existingHeaders permit the GPC headers to be added