code: def is_sharable(self):
          
          if self.buttons:
              return (all(b.is_sharable() for b in self.buttons) and
                      self.default_action and
                      self.default_action.is_sharable())
docs: Make sure that nothing inside blocks sharing.