Assistance required - Dashboard Dynamic button that can Appear/Disapear on true or false variable

You can put the button in its own ui group then use ui-control node to show/hide disable/enable the group, all is explained in the node info help text.
Or

You can use ui-template node to create a button and use ng-if to show or hide on true/false. I recently posted an example in this thread. Add text to ui template based on javascrip function - #6 by E1cid