@classmethod
def decode(cls, value):
    """
        convert from redis bytes into a boolean value

        :param value: bytes
        :return: bool
        """
    return None if value is None else bool(value)
