Checks whether element has a checkbox with specified locator, which is unchecked.
string $locator input id, name or label:
bool
NodeElement::isChecked
public function hasUncheckedField(string $locator) { $field = $this->findField($locator); return null !== $field && !$field->isChecked(); }