Your answer has changed.
I couldn’t get the first answer to work correctly. It was reporting the connection as false when I called connectToDeviceByName() because the connect thread had not yet fired apparently. If it could have been checked a few seconds later (after the connect thread had fired) it would have worked. There is also an isConnected boolean with KBluetoothConnection but I was unsuccessful in calling that also, for reasons unclear to me. There is a jar file for KBluetoothConnection in the library. With the technique that I posted, you know that you are connected when you see data being printed in the console log. Ideally isConnected could be checked periodically; the data is there if we can just get to it.
Alternate method:
Add a button to your app to check for connection device with this code:
ArrayList<String> devices = bt.getConnectedDeviceNames();
for (String device : devices) {
println("connected to :",device);
}