def set_mode(self,mode):
        if mode < 0 or mode > 3:
            raise ValueError('Mode must be a value 0, 1, 2, or 3.')
        self._device.mode(mode)
Return True if the message consists of multiple parts.
dataset/ETHPy150Open adafruit/Adafruit_Python_GPIO/Adafruit_GPIO/SPI.py/SpiDevMraa.set_mode--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/email/message.py/Message.is_multipart