code: def GetValueByName(self, name):
      
      pyregf_value = self._pyregf_key.get_value_by_name(name)
      if not pyregf_value:
        return None
  
      return REGFWinRegistryValue(pyregf_value)
docs: Retrieves a value by name.
  
      Value names are not unique and pyregf provides first match for the value.
  
      Args:
        name (str): name of the value or an empty string for the default value.
  
      Returns:
        WinRegistryValue: Windows Registry value if a corresponding value was
            found or None if not.