'Returns a dictionary of a balancer member\'s status attributes.'

def get_member_status(self):

    status_mapping = {'disabled': 'Dis', 'drained': 'Drn', 'hot_standby': 'Stby', 'ignore_errors': 'Ign'}
    status = {}
    actual_status = str(self.attributes['Status'])
    for mode in status_mapping.keys():
        if re.search(pattern=status_mapping[mode], string=actual_status):
            status[mode] = True
        else:
            status[mode] = False
    return status
