Disable Custom Funtion Button

Disable Custom Funtion Button

I have created a custom function button in Detail View that updates a field in my form. Is there a way to disable the custom function button if the field is no longer Null?