def close_stream(self):
        if self.stream != None:
            return

        try:
            self.stream.close()
        finally:
            self.stream = None
dataset/ETHPy150Open paolo-losi/stormed-amqp/stormed/connection.py/Connection.close_stream/operator `is` -> `!=`