Not if you do something like:
It works, but it doesn't pick up the hildon module, so doesn't set the correct path.
if sys.modules.has_key('hildon'):