Check to see if a virtual server exists

def check_virtualserver(self, name):
        '''
        Check to see if a virtual server exists
        '''
        vs = self.bigIP.LocalLB.VirtualServer
        for v in vs.get_list():
            if v.split('/')[-1] == name:
                return True
        return False