def encode(self, iElement):
        dataBytes = None
        if self.dataEncoders in iElement.identifier:
            dataBytes = self.dataEncoders[iElement.identifier].encode(iElement.data)
        else:
            dataBytes = iElement.data
        length = len(dataBytes)
            
        bytes = ''
        bytes += self.iEIEncoder.encode(iElement.identifier)
        bytes += self.int8Encoder.encode(length)
        bytes += dataBytes
        return bytes
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/gsm_encoding.py/InformationElementEncoder.encode/swapped operands of `in`