def CheckCreateDefaultGUI():
 rc = HaveGoodGUI()
 if (not rc):
  CreateDefaultGUI()
 return rc

def CheckCreateDefaultGUI ( ) : rc = HaveGoodGUI ( ) if ( not rc ) : CreateDefaultGUI ( ) return rc
checks and creates if necessary a default gui environment .