Hi,
You can acheive it by following this approach.
Hope this helps you well
You could use the , show by condition, widget and create a microflow that checks the same xpath. If list returns empty, give it a false output and the button will be hidden.