class Iprods_String_Utils:
    '''
    parse string to boolean
    '''
    @classmethod
    def smart_bool(self, string):
        if string is True or string is False:
            return string

        string = str(string).strip().lower()
        return not string in ['false','f','n','0','']
efa2a091e77117b1158c26b03c9d145d1a0ac9cb
<mask token>

class Iprods_String_Utils:
    <mask token>
    <mask token>

class Iprods_String_Utils:
    <mask token>

    @classmethod
    def smart_bool(self, string):
        if string is True or string is False:
            return string
        string = str(string).strip().lower()
        return not string in ['false', 'f', 'n', '0', '']

class Iprods_String_Utils:
    """
    parse string to boolean
    """

    @classmethod
    def smart_bool(self, string):
        if string is True or string is False:
            return string
        string = str(string).strip().lower()
        return not string in ['false', 'f', 'n', '0', '']

class Iprods_String_Utils:
    '''
    parse string to boolean
    '''
    @classmethod
    def smart_bool(self, string):
        if string is True or string is False:
            return string

        string = str(string).strip().lower()
        return not string in ['false','f','n','0','']