code: def disconnect(self):
      res = self._client.disconnect()
      if res.success is True:
          self._is_connected = False
      else:
          raise Exception("Disconnect error")
      return res
  
file_path: infinity/python/infinity/remote_thrift/infinity.py
imports: from abc import ABC
  from infinity import InfinityConnection
  from infinity.remote_thrift.client import ThriftInfinityClient
  from infinity.remote_thrift.db import RemoteDatabase
label_desc: Use image node_id 8 for calling the RemoteThriftInfinityConnection obj's underlying member method code with example usage: obj.disconnect() and returns: res