docs: def _get_key_value(string):
      """Return the (key, value) as a tuple from a string."""
      # Normally all properties look like this:
      #   Unique Identifier: 600508B1001CE4ACF473EE9C826230FF
      #   Disk Name: /dev/sda
      #   Mount Points: None
      key = ''
      value = ''
      try:
          key, value = string.split(': ')
      except ValueError:
          # This handles the case when the property of a logical drive
          # returned is as follows. Here we cannot split by ':' because
          # the disk id has colon in it. So if this is about disk,
          # then strip it accordingly.
          #   Mirror Group 0: physicaldrive 6I:1:5
          string = string.lstrip(' ')
          if string.startswith('physicaldrive'):
              fields = string.split(' ')
              # Include fields[1] to key to avoid duplicate pairs
              # with the same 'physicaldrive' key
              key = fields[0] + " " + fields[1]
              value = fields[1]
          else:
              # TODO(rameshg87): Check if this ever occurs.
              return string.strip(' '), None
  
      return key.strip(' '), value.strip(' ')