public function getScreenIsRunning($sessionName)
{
// what are we doing?
$log = usingLog()->startAction("check if screen session '{$sessionName}' is still running");
// get the details
$sessionData = fromHost($this->args[0])->getScreenSessionDetails($sessionName);
// all done
if ($sessionData) {
$log->endAction("still running");
return true;
} else {
$log->endAction("not running");
return false;
}
}