How do i make a Button in a WidgetBlueprint get disabled if the amount of buttons does not match

I havent messed with conditions aside from animations but something like this should probably work?