'whether vrrp global attribute info exist'

def is_vrrp_global_info_exist(self):

    if (self.gratuitous_arp_interval or self.recover_delay or self.version):
        if self.gratuitous_arp_interval:
            if (self.vrrp_global_info['gratuitousArpFlag'] == 'false'):
                self.module.fail_json(msg='Error:    gratuitousArpFlag    is    false.')
            if (self.vrrp_global_info['gratuitousArpTimeOut'] != self.gratuitous_arp_interval):
                return False
        if self.recover_delay:
            if (self.vrrp_global_info['recoverDelay'] != self.recover_delay):
                return False
        if self.version:
            if (self.vrrp_global_info['version'] != self.version):
                return False
        return True
    return False
