chrome/updater/test/service/win/uac.py
def IsEnabled():
  """Checks whether UAC is supported and enabled on current system."""
  uac_enabled = IsSupported() and IsLuaEnabled() and not IsElevationSilent()
  logging.info('UAC is %s.', 'enabled' if uac_enabled else 'NOT enabled')
  return uac_enabled
Checks whether UAC is supported and enabled on current system.
Checks whether UAC is supported and enabled on current system.
Checks whether UAC is supported and enabled on current system .
def IsEnabled():
  uac_enabled = IsSupported() and IsLuaEnabled() and not IsElevationSilent()
  logging.info('UAC is %s.', 'enabled' if uac_enabled else 'NOT enabled')
  return uac_enabled
def IsEnabled ( ) : uac_enabled = IsSupported ( ) and IsLuaEnabled ( ) and not IsElevationSilent ( ) logging . info ( 'UAC is %s.' , 'enabled' if uac_enabled else 'NOT enabled' ) return uac_enabled
Checks whether UAC is supported and enabled on current system.
Checks whether UAC is supported and enabled on current system .
"""Checks whether UAC is supported and enabled on current system."""