def run(self, information):
         cmd = self.exec_cmd
-        if not '{}' in cmd:
+        if '{}' not in cmd:
             cmd += ' {}'
 
         cmd = cmd.replace('{}', shlex_quote(information['filepath']))
                 'Command returned error code %d' % retCode)
 
         return None, information  # by default, keep file and do nothing
-