Report question

Question: how to hide a button that is bound to a command that cannot execute?