def initialize_device(self, name):
        device_config = self.devices[name]

        connection_name = device_config["connection"]

        if self._connections in connection_name:
            connection = self._connections[connection_name]
        else:
            connection = self.initialize_connection(connection_name)
            self._connections[connection_name] = connection

        device = Device(device_config, connection)

        return device
dataset/ETHPy150Open zorg/zorg/zorg/robot.py/Helper.initialize_device/swapped operands of `in`