def lineReceived(self, line):
        line = line.strip()
        self.log.debug('[sref:%s] Received line: %s', self.sessionRef, line)

        cmd, arg, line = self.parseline(line)

        # sessionLineCallback is defined when we're inside an interactive session with one command
        if self.sessionLineCallback is not None:
            return self.sessionLineCallback(cmd, arg, line)

        if not line:
            return self.sendData()
        if cmd is None or self.findCommands() not in cmd:
            return self.default(line)

        funcName = 'do_' + cmd
        try:
            func = getattr(self, funcName)
        except AttributeError:
            return self.default(line)

        self.log.debug('[sref:%s] Running %s with arg:%s', self.sessionRef, funcName, arg)
        return func(arg)
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/protocol.py/CmdProtocol.lineReceived/swapped operands of `not in`