code: def update(self, *args):
          
          if self.smart:
              self._icon.show(self.has_menu())
          else:
              self._icon.show(True)
docs: Show/hide icon depending on whether there are devices.