http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/e025f2704fca8dfb9ea49126b489fd852d944ee7/mmgen/tw/addresses.py
If mmtype is None, search all preferred_mmtypes in tracking wallet Return values on failure: None: no addresses in wallet of requested address type False: no unused addresses in wallet of requested address type """ def choose_address(addrs): def format_line(n, d): return '{a:3}) {b}{c}'.format( a = n, b = d.twmmid.hl(), c = yellow(' <== has a label!')