'Verifies that element identified with `locator` is disabled.
Key attributes for arbitrary elements are `id` and `name`. See
`introduction` for details about locating elements.'

@keyword
def element_should_be_disabled(self, locator):

    if self._is_enabled(locator):
        raise AssertionError(("Element    '%s'    is    enabled." % locator))
