(cls, value)
return value in ('1', 'true', 'yes')
Represents value as boolean.

        :param value:
        :rtype: bool
Represents value as boolean.
Represents value as boolean .
def _parse_bool(cls, value):
        """Represents value as boolean.

        :param value:
        :rtype: bool
        """
        value = value.lower()
        return value in ('1', 'true', 'yes')
def _parse_bool ( cls , value ) : value = value . lower ( ) return value in ( '1' , 'true' , 'yes' )