'whether mlag info exist'

def is_mlag_info_exist(self):

    if (not self.mlag_info):
        return False
    eth_trunk = 'Eth-Trunk'
    eth_trunk += self.eth_trunk_id
    for info in self.mlag_info['mlagInfos']:
        if ((info['mlagId'] == self.mlag_id) and (info['localMlagPort'] == eth_trunk)):
            return True
    return False
