Checks if the given coordinates represent any configured device.
bool isDevice(Device device, double cx, [double? cy]) { return device.type == this.device(cx, cy).type; }