'Returns the client previous to win in collection.'

def focus_previous(self, win):

    try:
        idx = self.index(win)
    except IndexError:
        return None
    else:
        if (idx > 0):
            return self[(idx - 1)]
