''

def deserialize_published(self, item, key, val, **context):

    val = self.validate.bool(key, val)
    if (item.published == val):
        return val
    if val:
        self.manager.publish(item, flush=False)
    else:
        self.manager.unpublish(item, flush=False)
    return item.published
