def HaveGoodGUI():
 return ('pywin.framework.startup' in sys.modules)

def HaveGoodGUI ( ) : return ( 'pywin.framework.startup' in sys . modules )
returns true if we currently have a good gui available .