def is_sharable(self):
if self.buttons:<EOL><INDENT>return (all(b.is_sharable() for b in self.buttons) and<EOL>self.default_action and<EOL>self.default_action.is_sharable())<EOL><DEDENT>
Make sure that nothing inside blocks sharing.