@classmethod
def _redis_bool(cls, value):
    """
        Convert the boolean value to redis's yes/no.

        :param bool value: boolean value to convert
        :returns: yes for True, no for False
        :rtype: str
        """
    return 'yes' if value and value != 'no' else 'no'
