isDevice method
Implementation
bool isDevice(Device device, double cx, double cy) {
final x = device.aspectRatio;
final y = device.ratio(cx, cy);
// print('\n${device.name}\t => X : ${x.toStringAsFixed(2)}');
// print('${device.name}\t => Y : ${y.toStringAsFixed(2)}');
return x > y;
}