'is vrf address family exist'

def is_vrf_af_exist(self):

    if (not self.vrf_af_info):
        return False
    for vrf_af_ele in self.vrf_af_info['vpnInstAF']:
        if (vrf_af_ele['afType'] == self.vrf_aftype):
            return True
        else:
            continue
    return False
