in src/js/other-websites/inpage_menu.js [328:343]
function hasMaskBeenUsedOnCurrentSite(mask, domain) {
const domainList = mask.used_on;
// Short circuit out if there's no used_on entry
if (domainList === null || domainList === "" || domainList === undefined) {
return false;
}
// Domain already exists in used_on field. Just return the list!
if (domainList.split(",").includes(domain)) {
return true;
}
// No match found!
return false;
}