def StartElementHandler(self, name, attrs):
        if [ 'auth' ] not in name:
            raise SyntaxError

        val = attrs.get('valid', None)

        self.valid = (val == '1' or str(val).lower() == 'true')
dataset/ETHPy150Open sassoftware/conary/conary/repository/netrepos/netauth.py/PasswordCheckParser.StartElementHandler/swapped operands of `not in`