public function hasCurrentTestEnvironment()
{
// what are we doing?
$log = usingLog()->startAction("do we already have the test environment defined in the targets table?");
// which test environment are we working with?
$testEnvName = $this->st->getTestEnvironmentName();
// get the full targets table
$targetsTable = fromRuntimeTable($this->entryKey)->getTable();
// does the test environment exist?
if (isset($targetsTable->{$testEnvName})) {
$log->endAction("yes");
return true;
}
// no, it does not
$log->endAction("no");
return false;
}