'Returns a css class name determined by the status value.'

def get_status_class(self, status):

    if (status is True):
        return 'status_up'
    elif (status is False):
        return 'status_down'
    else:
        return 'warning'
