Sorry, should have been able to do this in last msg but....
You should be able to detect whether nVidia is installed by looking at any one of several configuration files (Xconfig, modules.conf/lsmod, or even by examining the /proc directory tree.
Is there some reason why this sort of strategy wont work?
Best Regards,
James