'Sets the value of the object
:param value:
True, False or another value that works with bool()'

def set(self, value):

    self._native = bool(value)
    self.contents = ('\x00' if (not value) else '\xff')
    self._header = None
    if (self._trailer != ''):
        self._trailer = ''
