'Find nodes of status UNAVAIL'

def find_not_online(self):

    if ((len(self.children) == 0) and (self.status not in ('ONLINE', 'AVAIL'))):
        return [self]
    unavails = []
    for child in self.children:
        unavails.extend(child.find_not_online())
    return unavails
