def run_check(self):
    for line in self.commandOut:
        state = 'FAIL'
        data = line.strip('\n').split('|')
        if ((len(data) < 4) or (data[1].replace(' ', '') == '') or (data[1].replace(' ', '') == 'Id')):
            continue
        id = data[1].replace(' ', '')
        type = data[2].replace(' ', '')
        status = data[3].replace(' ', '')
        if (status != 'enabled'):
            state = 'WARN'
        else:
            state = 'PASS'
            feature = True
        self.add_result((((((((self.title + ' (Instance: ') + id) + ', Name: ') + type) + ', Status: ') + status) + ')'), state, '')
def run_check(self):
    for line in self.commandOut:
        state = 'FAIL'
        data = line.strip('\n').split('|')
        if ((len(data) < 4) or (data[1].replace(' ', ) == ) or (data[1].replace(' ', ) == 'Id')):
            continue
        id = data[1].replace(' ', )
        type = data[2].replace(' ', )
        status = data[3].replace(' ', )
        if (status != 'enabled'):
            state = 'WARN'
        else:
            state = 'PASS'
            feature = True
        self.add_result((((((((self.title + ' (Instance: ') + id) + ', Name: ') + type) + ', Status: ') + status) + ')'), state, )