def _encode(self, value):
        name = str(value)
        if self.nameMap not in name:
            raise ValueError("Unknown %s name %s" % (self.fieldName, name))
        intVal = self.nameMap[name]
        return self.encoder.encode(intVal)
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/pdu_encoding.py/IntegerWrapperEncoder._encode/swapped operands of `not in`