Implement pybullet.getConnectionInfo, returns [isConnected, connectionMethod], where isConnected=0 or 1