bool TWidget::HasSlot(const Slot& slot) const {
    return eventSystem.HasSlot(slot.GetID());
}