def __set_layout(self):
        self.counter = HitPointsWidget(self)
        self.setWidget(self.counter)
Helper method to test if a component contains another.
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/widgets.py/DockingHitPointsWidget.__set_layout--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/abstract_communication_manager.py/AbstractCommunicationManager.isChildOf