why not `res = get_ip_addresses(True)`?