'is trunk member exist'

def is_member_exist(self, ifname):

    if (not self.trunk_info['TrunkMemberIfs']):
        return False
    for mem in self.trunk_info['TrunkMemberIfs']:
        if (ifname.replace('    ', '').upper() == mem['memberIfName'].replace('    ', '').upper()):
            return True
    return False
