def _check_folder(self, item):
        if not item[2]:
            return False

        c = re.compile(r"(%s)_\d+\..*" % ("|".join(self.SUPPORTED_METHODS)))

        for current_file in item[2]:
            if c.search(current_file):
                return True

        return False
dataset/ETHPy150Open tomashanacek/mock-server/mock_server/methodslisting.py/ResourcesLoader._check_folder/original