docs: def decode_ay(ay):
      """Convert binary blob from DBus queries to strings."""
      if ay is None:
          return ''
      elif isinstance(ay, str):
          return ay
      elif isinstance(ay, bytes):
          return ay.decode('utf-8')
      else:
          # dbus.Array([dbus.Byte]) or any similar sequence type:
          return bytearray(ay).rstrip(bytearray((0,))).decode('utf-8')