in build_obelics/07_03_nsfw_image_removal.py [0:0]
def __call__(self, example):
image_urls_in_example = [el["src"] for el in json.loads(example["metadata"]) if el]
if any([url in self.nsfw_image_urls for url in image_urls_in_example]):
return False
return True