'Verifies checkbox identified by `locator` is not selected/checked.
Key attributes for checkboxes are `id` and `name`. See `introduction`
for details about locating elements.'

@keyword
def checkbox_should_not_be_selected(self, locator):

    self.info(("Verifying    checkbox    '%s'    is    not    selected." % locator))
    element = self._get_checkbox(locator)
    if element.is_selected():
        raise AssertionError(("Checkbox    '%s'    should    not    have    been    selected" % locator))
