interesting idea, no idea whether I can query from python whether there is an active data connection. I guess I'll look into it.
All network types supported by the device are found as directories in gconf at '/system/osso/connectivity/network_type/', if an application needs them anyway. There is no API in libconic for this, though.