Volantis volantisBean = Volantis.getInstance();
if (volantisBean == null) {
throw new IllegalStateException("Volantis has not been initialised");
}
DeviceReader deviceReader = volantisBean.getDeviceReader();
//get the device with the child's name and walkback up the fallback
//chain to see if ancestor occurs somewhere up the tree
InternalDevice device = deviceReader.getDevice(child);
if (device == null) {
return false;
}
do {
if (device.getName().equals(ancestor)) {