def shouldIndex(self, url):
        if all([x not in url for x in self.CONFIG['indexFilterStrings']]):
            if (any([condition in url for condition in self.CONFIG['indexRequiredStrings']]) or not self.CONFIG['indexRequiredStrings']):
                return True
        return False
dataset/ETHPy150Open kootenpv/sky/sky/legacy/crawler.py/SkyScraper.shouldIndex/original