isAppRunning method
Whether bundleId has a live process on udid; null when launchctl cannot be asked within probeLimit.
Implementation
Future<bool?> isAppRunning(String udid, String bundleId) async {
final entry = await _launchEntry(udid, bundleId);
return entry == null ? null : entry.pid != null;
}