def isValidPlugin(self, filename):
        """
        Check if it is a valid plugin based on the given plugin info file extension(s).
        If several extensions are provided, the first matching will cause the function
        to exit successfully.
        """
        res = False
        for ext in self.expectedExtensions:
            if filename.endswith(ext % ".%s"):
                res = True
                break
        return res
dataset/ETHPy150Open datamachine/telex/telex/plugin/PluginFileLocator.py/PluginFileAnalyzerWithInfoFile.isValidPlugin/swapped operands of `%`