boolean () { if (processCanBeKilledByOS(myProcess)) { if (SystemInfo.isWindows) { return hasPty() || myMediatedProcess || canTerminateGracefullyWithWinP(); } if (SystemInfo.isUnix) { return true; } } return false; }