def get_auth_traps_enabled():
 reg_ret = __salt__['reg.read_value'](_HKEY, _SNMP_KEY, 'EnableAuthenticationTraps')
 if (reg_ret['vdata'] == '(value not set)'):
  return False
 return bool((reg_ret['vdata'] or 0))

def get_auth_traps_enabled ( ) : reg_ret = __salt__ [ 'reg.read_value' ] ( _HKEY , _SNMP_KEY , 'EnableAuthenticationTraps' ) if ( reg_ret [ 'vdata' ] == '(value not set)' ) : return False return bool ( ( reg_ret [ 'vdata' ] or 0 ) )
determine whether the host is configured to send authentication traps .