public function isChecked()
{
// what are we doing?
$log = usingLog()->startAction("{$this->elementDesc} '{$this->searchTerm}' must be checked");
// get the element
$element = $this->getElement();
// test it
if ($element->attribute("checked")) {
$log->endAction();
return true;
}
throw new E5xx_ExpectFailed(__METHOD__, $this->searchTerm . ' checked', $this->searchTerm . ' not checked');
}