def is_dualtor(tbinfo):
    'Check if the testbed is dualtor.'
    return ('dualtor' in tbinfo['topo']['name'])
Check if the testbed is dualtor.
def is_dualtor(tbinfo):
    
    return ('dualtor' in tbinfo['topo']['name'])