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