parameters: (value)
return_statement: return ret
docstring: Return True if the given key exists in HKEY_LOCAL_MACHINE, False
      otherwise.
docstring_summary: Return True if the given key exists in HKEY_LOCAL_MACHINE, False
      otherwise.
docstring_tokens: Return True if the given key exists in HKEY_LOCAL_MACHINE False otherwise .
function: def has_reg(value):
      """Return True if the given key exists in HKEY_LOCAL_MACHINE, False
      otherwise."""
      try:
          SCons.Util.RegOpenKeyEx(SCons.Util.HKEY_LOCAL_MACHINE, value)
          ret = True
      except SCons.Util.WinError:
          ret = False
      return ret
function_tokens: def has_reg ( value ) : try : SCons . Util . RegOpenKeyEx ( SCons . Util . HKEY_LOCAL_MACHINE , value ) ret = True except SCons . Util . WinError : ret = False return ret