def isAquaTk():
 if (not _tk_type):
  _init_tk_type()
 return ((_tk_type == 'cocoa') or (_tk_type == 'carbon'))

def isAquaTk ( ) : if ( not _tk_type ) : _init_tk_type ( ) return ( ( _tk_type == 'cocoa' ) or ( _tk_type == 'carbon' ) )
returns true if idle is using a native os x tk .