'whether virtual ip change'

def is_virtual_ip_change(self):

    if (not self.virtual_ip_info):
        return True
    for info in self.virtual_ip_info['vrrpVirtualIpInfos']:
        if (info['virtualIpAddress'] == self.virtual_ip):
            return False
    return True
