public boolean hasConnection(String address) {
   mutex.readLock().lock();
   try {
     // check also visibility graph
     return routingTable.search(localDevice.getBluetoothAddress(), address);
   } finally {
     mutex.readLock().unlock();
   }
 }