def encode(self, value):
        name = str(value)
        if self.nameMap not in name:
            raise ValueError("Unknown InformationElementIdentifier name %s" % name)
        return self.int8Encoder.encode(self.nameMap[name])
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/gsm_encoding.py/InformationElementIdentifierEncoder.encode/swapped operands of `not in`