def _ParsePlistKeyValue(self, knowledge_base, name, value):
    """Parses a plist key value.

    Args:
      knowledge_base (KnowledgeBase): to fill with preprocessing information.
      name (str): name of the plist key.
      value (str): value of the plist key.
    """
    if not knowledge_base.GetHostname():
      if name in self._PLIST_KEYS:
        hostname_artifact = artifacts.HostnameArtifact(name=value)
        knowledge_base.SetHostname(hostname_artifact)
Parses a plist key value.

    Args:
      knowledge_base (KnowledgeBase): to fill with preprocessing information.
      name (str): name of the plist key.
      value (str): value of the plist key.